Skip to content

Commit

Permalink
corrected return value
Browse files Browse the repository at this point in the history
  • Loading branch information
ffritze committed Aug 7, 2024
1 parent a57719f commit 1fa25b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ public void setDatasetFieldDefaultValues(List<DatasetFieldDefaultValue> datasetF
public int compareTo(DatasetFieldType o) {
int result = Integer.compare(this.getDisplayOrder(), (o.getDisplayOrder()));
if(!this.isHasParent() && o.isChild() && result == 0) {
result = -1;
return 0;
}
return result;
}
Expand Down

0 comments on commit 1fa25b5

Please sign in to comment.