pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r1666723 - in /pdfbox/trunk/xmpbox/src: main/java/org/apache/xmpbox/xml/ test/java/org/apache/xmpbox/ test/java/org/apache/xmpbox/schema/ test/java/org/apache/xmpbox/type/
Date Sat, 14 Mar 2015 18:57:27 GMT
Author: msahyoun
Date: Sat Mar 14 18:57:27 2015
New Revision: 1666723

URL: http://svn.apache.org/r1666723
Log:
PDFBOX-2576 fix source code formatting

Modified:
    pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java
    pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/TestValidatePermitedMetadata.java
    pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/schema/TestExifXmp.java
    pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/type/AbstractTypeTester.java

Modified: pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java?rev=1666723&r1=1666722&r2=1666723&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java (original)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/xml/DomXmpParser.java Sat Mar 14 18:57:27
2015
@@ -779,7 +779,7 @@ public class DomXmpParser
             return;
         }
         NodeList nl = root.getChildNodes();
-        for (int i=0; i < nl.getLength() ; i ++) 
+        for (int i=0; i < nl.getLength(); i++) 
         {
             Node node = nl.item(i);
             if (node instanceof Comment)

Modified: pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/TestValidatePermitedMetadata.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/TestValidatePermitedMetadata.java?rev=1666723&r1=1666722&r2=1666723&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/TestValidatePermitedMetadata.java
(original)
+++ pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/TestValidatePermitedMetadata.java
Sat Mar 14 18:57:27 2015
@@ -76,7 +76,7 @@ public class TestValidatePermitedMetadat
 
     private String preferred;
 
-    public TestValidatePermitedMetadata (String ns, String prf, String fn)
+    public TestValidatePermitedMetadata(String ns, String prf, String fn)
     {
         this.namespace = ns;
         this.preferred = prf;

Modified: pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/schema/TestExifXmp.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/schema/TestExifXmp.java?rev=1666723&r1=1666722&r2=1666723&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/schema/TestExifXmp.java (original)
+++ pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/schema/TestExifXmp.java Sat Mar 14
18:57:27 2015
@@ -50,7 +50,7 @@ public class TestExifXmp
     }
 
     @Test
-    public void testGenerate () throws Exception
+    public void testGenerate() throws Exception
     {
         XMPMetadata metadata = XMPMetadata.createXMPMetadata();
         TypeMapping tmapping = metadata.getTypeMapping();

Modified: pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/type/AbstractTypeTester.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/type/AbstractTypeTester.java?rev=1666723&r1=1666722&r2=1666723&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/type/AbstractTypeTester.java (original)
+++ pdfbox/trunk/xmpbox/src/test/java/org/apache/xmpbox/type/AbstractTypeTester.java Sat Mar
14 18:57:27 2015
@@ -39,7 +39,7 @@ public abstract class AbstractTypeTester
 
     private Random counterRandom = new Random(COUNTER_SEED);
 
-    protected void initializeSeed (Random rand)
+    protected void initializeSeed(Random rand)
     {
         this.counterRandom = rand;
     }



Mime
View raw message