Skip to content

Commit

Permalink
Remove redundant assignment to field
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin-jaquier-sonarsource committed May 16, 2022
1 parent 73d7fbd commit 0d02c81
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,11 @@ public class JavaFileScannerContextForTests extends DefaultJavaFileScannerContex

private final Set<AnalyzerMessage> issues = new LinkedHashSet<>();
private final Map<AnalyzerMessage.TextSpan, List<JavaQuickFix>> quickFixes = new HashMap<>();
private final SonarComponents sonarComponents;

public JavaFileScannerContextForTests(CompilationUnitTree tree, InputFile inputFile, Sema semanticModel,
@Nullable SonarComponents sonarComponents, JavaVersion javaVersion,
boolean failedParsing, boolean inAndroidContext, @Nullable CacheContext cacheContext) {
super(tree, inputFile, semanticModel, sonarComponents, javaVersion, failedParsing, inAndroidContext, cacheContext);
this.sonarComponents = sonarComponents;
}

public Set<AnalyzerMessage> getIssues() {
Expand Down

0 comments on commit 0d02c81

Please sign in to comment.