pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1666325 - /pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/SynchronizedMetaDataValidation.java
Date Thu, 12 Mar 2015 22:20:01 GMT
Author: tilman
Date: Thu Mar 12 22:20:00 2015
New Revision: 1666325

URL: http://svn.apache.org/r1666325
Log:
PDFBOX-2576: remove unneeded casts

Modified:
    pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/SynchronizedMetaDataValidation.java

Modified: pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/SynchronizedMetaDataValidation.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/SynchronizedMetaDataValidation.java?rev=1666325&r1=1666324&r2=1666325&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/SynchronizedMetaDataValidation.java
(original)
+++ pdfbox/trunk/preflight/src/main/java/org/apache/pdfbox/preflight/metadata/SynchronizedMetaDataValidation.java
Thu Mar 12 22:20:00 2015
@@ -582,7 +582,7 @@ public class SynchronizedMetaDataValidat
     {
         // remove trailing NUL values
         int length = string.length();
-        while(length > 0 && (int)string.charAt(length-1) == 0)
+        while (length > 0 && string.charAt(length - 1) == 0)
         {
             length--;
         }



Mime
View raw message