Skip to content

Commit

Permalink
The assignment to variable workingCopy has no effect
Browse files Browse the repository at this point in the history
  • Loading branch information
mozhuanzuojing authored and rgrunber committed Dec 19, 2023
1 parent d55640f commit 7ce1316
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1722,7 +1722,7 @@ public static List<Location> searchDecompiledSources(IJavaElement element, IClas
}
List<Location> locations = new ArrayList<>();
if (contents != null && !contents.isBlank()) {
ICompilationUnit workingCopy = workingCopy = getWorkingCopy(classFile, contents, monitor);
ICompilationUnit workingCopy = getWorkingCopy(classFile, contents, monitor);
try {
final ASTParser parser = ASTParser.newParser(IASTSharedValues.SHARED_AST_LEVEL);
parser.setResolveBindings(true);
Expand Down

0 comments on commit 7ce1316

Please sign in to comment.