Skip to content
Permalink
Browse files
NO JIRA:
- Changed the code to be java 1.6 compliant.
  • Loading branch information
chrisdutz committed Nov 4, 2013
1 parent 4d387c6 commit 095054b540a0f1ab3ff6cf45e0f3ed097dc05c48
Showing 1 changed file with 1 addition and 1 deletion.
@@ -26,7 +26,7 @@ public int compare(String o1, String o2) {
}
}
// If all segments were equal, the string that has more segments wins.
return Integer.compare(versionSegments1.length, versionSegments2.length);
return Integer.valueOf(versionSegments1.length).compareTo(versionSegments2.length);
}
};
versions = new TreeSet<String>(versionComparator);

0 comments on commit 095054b

Please sign in to comment.