aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/utils
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-02 21:31:16 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-02 21:31:16 +0200
commit218f3d0ed3c65eb16bae6e189a3cc2c46fdaff31 (patch)
tree0b572e7a08cbec16e01e7c4d7267884aa95b8bce /src/main/java/de/pixart/messenger/utils
parent7d65aa994166f5f13f405279e4600a9c0c2b3bcb (diff)
hard code ogg + audio/ mime type to oga
Diffstat (limited to 'src/main/java/de/pixart/messenger/utils')
-rw-r--r--src/main/java/de/pixart/messenger/utils/MimeUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/utils/MimeUtils.java b/src/main/java/de/pixart/messenger/utils/MimeUtils.java
index f4db070fd..e485dc88f 100644
--- a/src/main/java/de/pixart/messenger/utils/MimeUtils.java
+++ b/src/main/java/de/pixart/messenger/utils/MimeUtils.java
@@ -34,8 +34,8 @@ import de.pixart.messenger.entities.Transferable;
* Used to implement java.net.URLConnection and android.webkit.MimeTypeMap.
*/
public final class MimeUtils {
- private static final Map<String, String> mimeTypeToExtensionMap = new HashMap<String, String>();
- private static final Map<String, String> extensionToMimeTypeMap = new HashMap<String, String>();
+ private static final Map<String, String> mimeTypeToExtensionMap = new HashMap<>();
+ private static final Map<String, String> extensionToMimeTypeMap = new HashMap<>();
static {
// The following table is based on /etc/mime.types data minus