X-Git-Url: http://gitweb.fperrin.net/?p=Dictionary.git;a=blobdiff_plain;f=src%2Fcom%2Fhughes%2Fandroid%2Fdictionary%2Fengine%2FIndex.java;h=fd69bb857e4bd53c08152211c91bccf4115e3d10;hp=5b7b43d5aadd20a39a3de5e047b3ca348cdd7b83;hb=60b71b3a5c6fbcd12fbff3d814e8199aec7fba92;hpb=6075de7ee940e23133cf187f44a525e19cccf038 diff --git a/src/com/hughes/android/dictionary/engine/Index.java b/src/com/hughes/android/dictionary/engine/Index.java index 5b7b43d..fd69bb8 100644 --- a/src/com/hughes/android/dictionary/engine/Index.java +++ b/src/com/hughes/android/dictionary/engine/Index.java @@ -530,7 +530,7 @@ public final class Index { swapPairEntries); for (final Collection rows : matches.values()) { final List ordered = new ArrayList<>(rows); - ordered.sort(lengthComparator); + Collections.sort(ordered, lengthComparator); result.addAll(ordered); }