Skip to content

Commit 7310eb7

Browse files
committed
Fix failing tests
1 parent 9d18cba commit 7310eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/gr/uom/java/xmi/UMLCommentGroup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public List<UMLComment> getGroup() {
2525
}
2626

2727
public boolean sameText(UMLCommentGroup other) {
28-
if(this.group.size() == other.group.size() && this.group.size() > 0) {
28+
if(this.group.size() == other.group.size() && this.group.size() > 1) {
2929
int matches = 0;
3030
for(int i=0; i<this.group.size(); i++) {
3131
if(this.group.get(i).getText().equals(other.group.get(i).getText())) {

0 commit comments

Comments
 (0)