Skip to content

Commit

Permalink
NETBEANS-892: Fix updation of unrelated files during refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaneja1 authored and jlahoda committed Jun 26, 2018
1 parent 2830cbc commit 421122c
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -146,8 +146,6 @@ public Tree visitCompilationUnit(CompilationUnitTree node, Element p) {
cut = make.CompilationUnit(cut.getPackageName(), imports, cut.getTypeDecls(), cut.getSourceFile());
}

cut = GeneratorUtilities.get(workingCopy).importFQNs(cut);

rewrite(node, cut);

return result;
Expand Down Expand Up @@ -245,6 +243,7 @@ public Object visitIdentifier(IdentifierTree node, Element p) {
}
get.copyComments(origTree, newClass, true);
get.copyComments(origTree, newClass, false);
newClass = get.importFQNs(newClass);
newClass = get.insertClassMember(node, newClass);
original2Translated.put(node, newClass);
}
Expand Down

0 comments on commit 421122c

Please sign in to comment.