Skip to content

Commit

Permalink
Fix bug in commit
Browse files Browse the repository at this point in the history
apache/commons-lang@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$
  • Loading branch information
tsantalis committed Oct 3, 2024
1 parent 50a93ea commit 8bee99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/gr/uom/java/xmi/UMLCommentGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public List<UMLComment> 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<this.group.size(); i++) {
if(this.group.get(i).getText().equals(other.group.get(i).getText())) {
Expand Down

0 comments on commit 8bee99e

Please sign in to comment.