incubator-sanselan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmc...@apache.org
Subject svn commit: r735495 - /incubator/sanselan/trunk/src/main/java/org/apache/sanselan/formats/jpeg/xmp/JpegRewriter.java
Date Sun, 18 Jan 2009 16:24:24 GMT
Author: cmchen
Date: Sun Jan 18 08:24:24 2009
New Revision: 735495

URL: http://svn.apache.org/viewvc?rev=735495&view=rev
Log:
Applied a patch from Niall Pemberton around jdk1.5 compatability:
"""
Sanselan claims JDK 1.4 compatibility, but a JDK 1.5 method (Class's getSimpleName() [1])
has been used in JpegRewriter
"""

Modified:
    incubator/sanselan/trunk/src/main/java/org/apache/sanselan/formats/jpeg/xmp/JpegRewriter.java

Modified: incubator/sanselan/trunk/src/main/java/org/apache/sanselan/formats/jpeg/xmp/JpegRewriter.java
URL: http://svn.apache.org/viewvc/incubator/sanselan/trunk/src/main/java/org/apache/sanselan/formats/jpeg/xmp/JpegRewriter.java?rev=735495&r1=735494&r2=735495&view=diff
==============================================================================
--- incubator/sanselan/trunk/src/main/java/org/apache/sanselan/formats/jpeg/xmp/JpegRewriter.java
(original)
+++ incubator/sanselan/trunk/src/main/java/org/apache/sanselan/formats/jpeg/xmp/JpegRewriter.java
Sun Jan 18 08:24:24 2009
@@ -69,7 +69,7 @@
 		
 		public String toString()
 		{
-			return "[" + this.getClass().getSimpleName() + "]";
+			return "[" + this.getClass().getName() + "]";
 		}
 	}
 
@@ -98,7 +98,7 @@
 
 		public String toString()
 		{
-			return "[" + this.getClass().getSimpleName() + " (0x" + Integer.toHexString(marker) +
")]";
+			return "[" + this.getClass().getName() + " (0x" + Integer.toHexString(marker) + ")]";
 		}
 
 		protected void write(OutputStream os) throws IOException



Mime
View raw message