summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/java/com/wireguard/util
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-03-09 12:21:35 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2020-03-09 12:21:35 -0600
commit40ebf8006e46f8857340648d7cea234ed699aed7 (patch)
treed52d5157884dec4f9cdadc895a2e66d20704249b /ui/src/main/java/com/wireguard/util
parent8e8643122eb5783d4412c8a81fb03cc789c3f77c (diff)
global: optimize imports
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/java/com/wireguard/util')
-rw-r--r--ui/src/main/java/com/wireguard/util/Keyed.java2
-rw-r--r--ui/src/main/java/com/wireguard/util/KeyedList.java6
-rw-r--r--ui/src/main/java/com/wireguard/util/SortedKeyedList.java6
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.