codeclimate/sonar-wrapper

View on GitHub
src/main/java/cc/analysis/StandaloneSonarLint.java

Summary

Maintainability
A
0 mins
Test Coverage

Rename this class.
Open

public class StandaloneSonarLint extends org.sonarlint.cli.analysis.StandaloneSonarLint {

While it's perfectly legal to give a class the same simple name as a class in another package that it extends or interface it implements, it's confusing and could cause problems in the future.

Noncompliant Code Example

package my.mypackage;

public class Foo implements a.b.Foo { // Noncompliant

Compliant Solution

package my.mypackage;

public class FooJr implements a.b.Foo {

There are no issues that match your filters.

Category
Status