1
0
Fork 1

remove unused method

(cherry picked from commit 70fc08314f82f1b6fea23780e47d85c44e9d4297)
This commit is contained in:
Daniel Gultsch 2021-03-22 11:14:35 +01:00 committed by Christian Schneppe
parent 705d7a5adb
commit 2b18efc6f8

View file

@ -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;
@ -584,11 +583,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);
}