aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java/com/healthmarketscience/jackcess/impl/BigIntTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/healthmarketscience/jackcess/impl/BigIntTest.java')
-rw-r--r--src/test/java/com/healthmarketscience/jackcess/impl/BigIntTest.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/test/java/com/healthmarketscience/jackcess/impl/BigIntTest.java b/src/test/java/com/healthmarketscience/jackcess/impl/BigIntTest.java
index e3ab82d..98689d6 100644
--- a/src/test/java/com/healthmarketscience/jackcess/impl/BigIntTest.java
+++ b/src/test/java/com/healthmarketscience/jackcess/impl/BigIntTest.java
@@ -79,14 +79,10 @@ public class BigIntTest extends TestCase
"num1", lng));
}
- Collections.sort(expectedTable, new Comparator<Map<String, Object>>() {
- @Override public int compare(
- Map<String, Object> r1,
- Map<String, Object> r2) {
- Long l1 = (Long)r1.get("num1");
- Long l2 = (Long)r2.get("num1");
- return l1.compareTo(l2);
- }
+ Collections.sort(expectedTable, (r1, r2) -> {
+ Long l1 = (Long)r1.get("num1");
+ Long l2 = (Long)r2.get("num1");
+ return l1.compareTo(l2);
});
Cursor c = t.newCursor().setIndexByName("idx").toIndexCursor();