From 2ea0b24f4e9ec59159c1a9e67d486be4f4053ae1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 27 May 2008 01:56:23 +0200 Subject: [PATCH] make methods static --- src/net/pterodactylus/util/io/MimeTypes.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/pterodactylus/util/io/MimeTypes.java b/src/net/pterodactylus/util/io/MimeTypes.java index b6ffff0..6c31c28 100644 --- a/src/net/pterodactylus/util/io/MimeTypes.java +++ b/src/net/pterodactylus/util/io/MimeTypes.java @@ -768,7 +768,7 @@ public class MimeTypes { * * @return All known MIME types */ - public List getAllMimeTypes() { + public static List getAllMimeTypes() { return mimeTypes; } @@ -780,7 +780,7 @@ public class MimeTypes { * @return A list of MIME types, or an empty list if there are no registered * MIME types for the extension */ - public List getMimeTypes(String extension) { + public static List getMimeTypes(String extension) { if (extensionMimeTypes.containsKey(extension)) { return extensionMimeTypes.get(extension); } -- 2.7.4