mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix animalSniffer warning
This commit is contained in:
+1
-1
@@ -235,7 +235,7 @@ public class CssLinkResourceTransformer implements ResourceTransformer {
|
||||
|
||||
@Override
|
||||
public int compareTo(CssLinkInfo other) {
|
||||
return Integer.compare(this.start, other.start);
|
||||
return (this.start < other.start ? -1 : (this.start == other.start ? 0 : 1));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user