harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r927216 - /harmony/enhanced/trunk/classlib/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/ImageType.java
Date Wed, 24 Mar 2010 22:59:37 GMT
Author: hindessm
Date: Wed Mar 24 22:59:36 2010
New Revision: 927216

URL: http://svn.apache.org/viewvc?rev=927216&view=rev
Log:
Add mimetype that is specified by the RI png plugin.

Modified:
    harmony/enhanced/trunk/classlib/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/ImageType.java

Modified: harmony/enhanced/trunk/classlib/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/ImageType.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/trunk/classlib/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/ImageType.java?rev=927216&r1=927215&r2=927216&view=diff
==============================================================================
--- harmony/enhanced/trunk/classlib/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/ImageType.java
(original)
+++ harmony/enhanced/trunk/classlib/modules/imageio/src/main/java/org/apache/harmony/x/imageio/plugins/ImageType.java
Wed Mar 24 22:59:36 2010
@@ -28,7 +28,7 @@ public enum ImageType {
                         new String[] { "image/gif" }),
         @SuppressWarnings("nls")
         PNG(new String[] { "png", "PNG" }, new String[] { "png" },
-                        new String[] { "image/png" });
+                        new String[] { "image/png", "image/x-png" });
 
     private final String names[];
     private final String suffixes[];



Mime
View raw message