diff --git a/src/main/java/gr/uom/java/xmi/UMLCommentGroup.java b/src/main/java/gr/uom/java/xmi/UMLCommentGroup.java index 57070dc88..6e9850ad9 100644 --- a/src/main/java/gr/uom/java/xmi/UMLCommentGroup.java +++ b/src/main/java/gr/uom/java/xmi/UMLCommentGroup.java @@ -25,7 +25,7 @@ public List getGroup() { } public boolean sameText(UMLCommentGroup other) { - if(this.group.size() == other.group.size()) { + if(this.group.size() == other.group.size() && this.group.size() > 1) { int matches = 0; for(int i=0; i