return new list
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 27 May 2008 06:36:39 +0000 (08:36 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Tue, 27 May 2008 06:36:39 +0000 (08:36 +0200)
src/net/pterodactylus/util/io/MimeTypes.java

index 6c31c28..449b7c1 100644 (file)
@@ -769,7 +769,7 @@ public class MimeTypes {
         * @return All known MIME types
         */
        public static List<String> getAllMimeTypes() {
-               return mimeTypes;
+               return new ArrayList<String>(mimeTypes);
        }
 
        /**