Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

refactor: Common static analysis issues #4

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public TreeVisitor<?, ExecutionContext> getScanner(AtomicReference<JavaType.Clas
@Override
public J.ClassDeclaration visitClassDeclaration(J.ClassDeclaration classDecl, ExecutionContext ctx) {
JavaType.Class fqn = TypeUtils.asClass(classDecl.getType());
if (fqn != null && fqn.getClassName().equals("IdaProvider")) {
if (fqn != null && "IdaProvider".equals(fqn.getClassName())) {
acc.set(fqn);
}
return super.visitClassDeclaration(classDecl, ctx);
Expand Down
Loading