Fix animalSniffer warning

This commit is contained in:
Rossen Stoyanchev 2014-05-27 21:27:35 -04:00
parent 6966e89578
commit 3944f7ad97
1 changed files with 1 additions and 1 deletions

View File

@ -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