Skip to content

Commit 18f53d5

Browse files
committed
ApResolver: Removed unused private function return
1 parent e709421 commit 18f53d5

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/src/main/java/xyz/gianlu/librespot/core/ApResolver.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ private static List<String> getUrls(@NotNull JsonObject body, @NotNull String ty
6262
return list;
6363
}
6464

65-
@NotNull
66-
private static Map<String, List<String>> request(@NotNull String... types) throws IOException {
65+
private static void request(@NotNull String... types) throws IOException {
6766
if (types.length == 0) throw new IllegalArgumentException();
6867

6968
StringBuilder url = new StringBuilder(BASE_URL + "?");
@@ -88,8 +87,6 @@ private static Map<String, List<String>> request(@NotNull String... types) throw
8887
}
8988

9089
LOGGER.info("Loaded aps into pool: " + pool);
91-
92-
return map;
9390
} finally {
9491
conn.disconnect();
9592
}

0 commit comments

Comments
 (0)