From 70fc08314f82f1b6fea23780e47d85c44e9d4297 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 22 Mar 2021 11:14:35 +0100 Subject: [PATCH] remove unused method --- src/main/java/eu/siacs/conversations/utils/MimeUtils.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/utils/MimeUtils.java b/src/main/java/eu/siacs/conversations/utils/MimeUtils.java index 1aea44565..53e2e1917 100644 --- a/src/main/java/eu/siacs/conversations/utils/MimeUtils.java +++ b/src/main/java/eu/siacs/conversations/utils/MimeUtils.java @@ -25,7 +25,6 @@ import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; -import java.net.URL; import java.util.HashMap; import java.util.Map; import java.util.Properties; @@ -580,11 +579,6 @@ public final class MimeUtils { return null; } - public static String extractRelevantExtension(URL url) { - String path = url.getPath(); - return extractRelevantExtension(path, true); - } - public static String extractRelevantExtension(final String path) { return extractRelevantExtension(path, false); }