Skip to content

Commit

Permalink
Proper priority comparator for SmallRyeConfigBuilderCustomizer (#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
radcortez authored Jan 11, 2025
1 parent d0a447b commit fc6de87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ public SmallRyeConfig build() {
customizers.sort(new Comparator<>() {
@Override
public int compare(SmallRyeConfigBuilderCustomizer o1, SmallRyeConfigBuilderCustomizer o2) {
return o1.priority() - o2.priority();
return Integer.compare(o1.priority(), o2.priority());
}
});
for (SmallRyeConfigBuilderCustomizer customizer : customizers) {
Expand Down

0 comments on commit fc6de87

Please sign in to comment.