Skip to content

Commit

Permalink
Fixed missed refactoring in commit
Browse files Browse the repository at this point in the history
javaparser/javaparser@b08e662
Move Class com.github.javaparser.printer.PrettyPrinterConfiguration.IndentType moved to com.github.javaparser.printer.configuration.Indentation.IndentType
  • Loading branch information
tsantalis committed Feb 13, 2024
1 parent 493423a commit 151935f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/java/gr/uom/java/xmi/diff/UMLModelDiff.java
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,10 @@ private boolean conflictingMoveOfTopLevelClass(UMLClass removedClass, UMLClass a
!diff.getMovedClass().getName().startsWith(addedClass.getPackageName() + ".")) ||
(!diff.getOriginalClass().getName().startsWith(removedClass.getPackageName() + ".") &&
diff.getMovedClass().getName().startsWith(addedClass.getPackageName() + "."))) {
return true;
if(!diff.getMovedClass().isInnerClass(addedClass))
return true;
}
if((diff.getOriginalClass().getName().equals(removedClass.getPackageName()) &&
else if((diff.getOriginalClass().getName().equals(removedClass.getPackageName()) &&
!diff.getMovedClass().getName().equals(addedClass.getPackageName())) ||
(!diff.getOriginalClass().getName().equals(removedClass.getPackageName()) &&
diff.getMovedClass().getName().equals(addedClass.getPackageName()))) {
Expand Down

0 comments on commit 151935f

Please sign in to comment.