Skip to content

Commit

Permalink
Improvement over commit 0894f34
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed May 13, 2024
1 parent f384dbc commit 98b70f2
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ private void populateMoveMappings(ASTDiff diff, Map<Tree, List<Mapping>> methodD
List<Mapping> mappings = new ArrayList<Mapping>();
mappings.addAll(getMappingForLeft(diff, src));
methodDeclarationMappings.put(methodRoot, mappings);
if(map.containsKey(methodRoot)) {
actionMap.put(methodRoot, map.get(methodRoot));
}
}
if(map.containsKey(methodRoot)) {
actionMap.put(methodRoot, map.get(methodRoot));
}
}
Tree fieldRoot = TreeUtilFunctions.getParentUntilType(src, Constants.FIELD_DECLARATION);
Expand All @@ -242,9 +242,9 @@ private void populateMoveMappings(ASTDiff diff, Map<Tree, List<Mapping>> methodD
List<Mapping> mappings = new ArrayList<Mapping>();
mappings.addAll(getMappingForLeft(diff, src));
fieldDeclarationMappings.put(fieldRoot, mappings);
if(map.containsKey(fieldRoot)) {
actionMap.put(fieldRoot, map.get(fieldRoot));
}
}
if(map.containsKey(fieldRoot)) {
actionMap.put(fieldRoot, map.get(fieldRoot));
}
}
if(src.getType().name.equals(Constants.TYPE_DECLARATION) ||
Expand Down

0 comments on commit 98b70f2

Please sign in to comment.