]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/Index.java
Fix compatibility with older Android versions.
[Dictionary.git] / src / com / hughes / android / dictionary / engine / Index.java
index 5b7b43d5aadd20a39a3de5e047b3ca348cdd7b83..fd69bb857e4bd53c08152211c91bccf4115e3d10 100644 (file)
@@ -530,7 +530,7 @@ public final class Index {
             swapPairEntries);
         for (final Collection<RowBase> rows : matches.values()) {
             final List<RowBase> ordered = new ArrayList<>(rows);
-            ordered.sort(lengthComparator);
+            Collections.sort(ordered, lengthComparator);
             result.addAll(ordered);
         }