Skip to content

Commit

Permalink
Improve the readability of the getOrder method (#9361)
Browse files Browse the repository at this point in the history
`Ordered.LOWEST_PRECEDENCE + 1` is equal to `Ordered.HIGHEST_PRECEDENCE`, using `Ordered.HIGHEST_PRECEDENCE` is more readable.
  • Loading branch information
tianshuang committed Dec 16, 2021
1 parent 1296ff8 commit 578bfcb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -110,6 +110,6 @@ protected void setBeanNameAsDefaultValue(Object bean, String propertyName, Strin
*/
@Override
public int getOrder() {
return Ordered.LOWEST_PRECEDENCE + 1;
return Ordered.HIGHEST_PRECEDENCE;
}
}

0 comments on commit 578bfcb

Please sign in to comment.