From 8bee99e3471c584e619b03d7694eebcb3d63f385 Mon Sep 17 00:00:00 2001 From: tsantalis Date: Wed, 2 Oct 2024 23:18:29 -0400 Subject: [PATCH] Fix bug in commit https://github.com/apache/commons-lang/commit/96c30e248 src/main/java/org/apache/commons/lang3/time/DateUtils.java private static long getFragment(final Calendar calendar, final int fragment, final TimeUnit unit) //$FALL-THROUGH$ --- src/main/java/gr/uom/java/xmi/UMLCommentGroup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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