Issue #2905 removed java 1.7 specific code
use of Integer.compare() Former-commit-id:ae3ece84be
[formerlya1d9d323bd
] [formerlyae3ece84be
[formerlya1d9d323bd
] [formerlyf53203712f
[formerly 223fa62b59a9c8764a33a25d4ccfd0c69cff4be7]]] Former-commit-id:f53203712f
Former-commit-id:8afb7d6473
[formerly6d2125746e
] Former-commit-id:18a5ebe659
This commit is contained in:
parent
f3b68241ee
commit
b1bfe11509
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue