diff options
Diffstat (limited to 'ui/src/main/java/com/wireguard/util')
-rw-r--r-- | ui/src/main/java/com/wireguard/util/Keyed.java | 2 | ||||
-rw-r--r-- | ui/src/main/java/com/wireguard/util/KeyedList.java | 6 | ||||
-rw-r--r-- | ui/src/main/java/com/wireguard/util/SortedKeyedList.java | 6 |
3 files changed, 4 insertions, 10 deletions
diff --git a/ui/src/main/java/com/wireguard/util/Keyed.java b/ui/src/main/java/com/wireguard/util/Keyed.java index b4dc40cd..0cc85d50 100644 --- a/ui/src/main/java/com/wireguard/util/Keyed.java +++ b/ui/src/main/java/com/wireguard/util/Keyed.java @@ -5,8 +5,6 @@ package com.wireguard.util; -import com.wireguard.util.NonNullForAll; - /** * Interface for objects that have a identifying key of the given type. */ diff --git a/ui/src/main/java/com/wireguard/util/KeyedList.java b/ui/src/main/java/com/wireguard/util/KeyedList.java index e0d06dbb..48bba484 100644 --- a/ui/src/main/java/com/wireguard/util/KeyedList.java +++ b/ui/src/main/java/com/wireguard/util/KeyedList.java @@ -5,13 +5,11 @@ package com.wireguard.util; -import com.wireguard.util.NonNullForAll; - -import androidx.annotation.Nullable; - import java.util.Collection; import java.util.List; +import androidx.annotation.Nullable; + /** * A list containing elements that can be looked up by key. A {@code KeyedList} cannot contain * {@code null} elements. diff --git a/ui/src/main/java/com/wireguard/util/SortedKeyedList.java b/ui/src/main/java/com/wireguard/util/SortedKeyedList.java index 7afc919e..80c50bed 100644 --- a/ui/src/main/java/com/wireguard/util/SortedKeyedList.java +++ b/ui/src/main/java/com/wireguard/util/SortedKeyedList.java @@ -5,14 +5,12 @@ package com.wireguard.util; -import com.wireguard.util.NonNullForAll; - -import androidx.annotation.Nullable; - import java.util.Collection; import java.util.Comparator; import java.util.Set; +import androidx.annotation.Nullable; + /** * A keyed list where all elements are sorted by the comparator returned by {@code comparator()} * applied to their keys. |