commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1393660 - /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageParser.java
Date Wed, 03 Oct 2012 18:43:56 GMT
Author: damjan
Date: Wed Oct  3 18:43:56 2012
New Revision: 1393660

URL: http://svn.apache.org/viewvc?rev=1393660&view=rev
Log:
Order ImageParsers alphabetically.


Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageParser.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageParser.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageParser.java?rev=1393660&r1=1393659&r2=1393660&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageParser.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/ImageParser.java
Wed Oct  3 18:43:56 2012
@@ -95,14 +95,22 @@ public abstract class ImageParser extend
      * @return A valid array of image parsers
      */
     public static final ImageParser[] getAllImageParsers() {
-        ImageParser result[] = { new JpegImageParser(), new TiffImageParser(),
-                new PngImageParser(), new BmpImageParser(),
-                new GifImageParser(), new PsdImageParser(),
-                new PnmImageParser(), new IcoImageParser(),
-                new IcnsImageParser(), new WbmpImageParser(),
-                new PcxImageParser(), new DcxImageParser(),
-                new XbmImageParser(), new XpmImageParser(),
-                new RgbeImageParser()
+        ImageParser result[] = {
+                new BmpImageParser(),
+                new DcxImageParser(),
+                new GifImageParser(),
+                new IcnsImageParser(),
+                new IcoImageParser(),
+                new JpegImageParser(),
+                new PcxImageParser(),
+                new PngImageParser(),
+                new PnmImageParser(),
+                new PsdImageParser(),
+                new RgbeImageParser(),
+                new TiffImageParser(),
+                new WbmpImageParser(),
+                new XbmImageParser(),
+                new XpmImageParser(),
         // new JBig2ImageParser(),
         // new TgaImageParser(),
         };



Mime
View raw message