sgammon/GUST

View on GitHub
java/gust/backend/model/PersistenceManager.java

Summary

Maintainability
A
0 mins
Test Coverage

Driver is not used in the interface.
Open

public interface PersistenceManager<Driver extends PersistenceDriver> {

Type parameters that aren't used are dead code, which can only distract and possibly confuse developers during maintenance. Therefore, unused type parameters should be removed.

Noncompliant Code Example

int <T> Add(int a, int b) // Noncompliant; <T> is ignored
{
  return a + b;
}

Compliant Solution

int Add(int a, int b)
{
  return a + b;
}

There are no issues that match your filters.

Category
Status