Issue #2905 removed java 1.7 specific code

use of Integer.compare()

(cherry picked from commit d909a8e909 [formerly ae3ece84be] [formerly a1d9d323bd] [formerly f53203712f [formerly a1d9d323bd [formerly 223fa62b59a9c8764a33a25d4ccfd0c69cff4be7]]])


Former-commit-id: c00624203e [formerly 879aa1a714 [formerly b677c6531fbe5af2fcf7c75bb8753c31f56b7355]]
Former-commit-id: f567e6970f575b9d912f42502992b52bfb536660 [formerly 879aa1a714]
Former-commit-id: 627c6d74d5
This commit is contained in:
Brian Clements 2014-04-07 12:21:50 -05:00 committed by Steve Harris
parent a66b877c2a
commit 34986a4672

View file

@ -46,6 +46,7 @@ import javax.xml.bind.annotation.XmlRootElement;
* ------------ ---------- ----------- --------------------------
* Mar 24, 2014 2905 bclement Initial creation
* Apr 03, 2014 2905 bclement added lookup methods
* Apr 07, 2014 2905 bclement removed java 1.7 specific Integer.compare()
*
* </pre>
*
@ -209,7 +210,7 @@ public class TranslationTable {
public static final Comparator<QueueNode> comp = new Comparator<QueueNode>() {
@Override
public int compare(QueueNode o1, QueueNode o2) {
return Integer.compare(o1.index, o2.index);
return o1.index - o2.index;
}
};