diff options
Diffstat (limited to 'java/src/com/android/inputmethod/latin/BoundedTreeSet.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/BoundedTreeSet.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/BoundedTreeSet.java b/java/src/com/android/inputmethod/latin/BoundedTreeSet.java index cf977617d..7f7ff31c8 100644 --- a/java/src/com/android/inputmethod/latin/BoundedTreeSet.java +++ b/java/src/com/android/inputmethod/latin/BoundedTreeSet.java @@ -25,7 +25,7 @@ import java.util.TreeSet; /** * A TreeSet that is bounded in size and throws everything that's smaller than its limit */ -public class BoundedTreeSet extends TreeSet<SuggestedWordInfo> { +public final class BoundedTreeSet extends TreeSet<SuggestedWordInfo> { private final int mCapacity; public BoundedTreeSet(final Comparator<SuggestedWordInfo> comparator, final int capacity) { super(comparator); |