make methods static
[jSite2.git] / src / net / pterodactylus / util / io / MimeTypes.java
index b6ffff0..6c31c28 100644 (file)
@@ -768,7 +768,7 @@ public class MimeTypes {
         * 
         * @return All known MIME types
         */
-       public List<String> getAllMimeTypes() {
+       public static List<String> 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<String> getMimeTypes(String extension) {
+       public static List<String> getMimeTypes(String extension) {
                if (extensionMimeTypes.containsKey(extension)) {
                        return extensionMimeTypes.get(extension);
                }