pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1691031 - /pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPSchema.java
Date Tue, 14 Jul 2015 16:25:29 GMT
Author: tilman
Date: Tue Jul 14 16:25:29 2015
New Revision: 1691031

URL: http://svn.apache.org/r1691031
Log:
PDFBOX-2852: use interface

Modified:
    pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPSchema.java

Modified: pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPSchema.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPSchema.java?rev=1691031&r1=1691030&r2=1691031&view=diff
==============================================================================
--- pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPSchema.java (original)
+++ pdfbox/trunk/xmpbox/src/main/java/org/apache/xmpbox/schema/XMPSchema.java Tue Jul 14 16:25:29
2015
@@ -631,7 +631,7 @@ public class XMPSchema extends AbstractS
         ArrayProperty array = (ArrayProperty) getAbstractProperty(arrayName);
         if (array != null)
         {
-            ArrayList<AbstractField> toDelete = new ArrayList<AbstractField>();
+            List<AbstractField> toDelete = new ArrayList<AbstractField>();
             Iterator<AbstractField> it = array.getContainer().getAllProperties().iterator();
             while (it.hasNext())
             {
@@ -750,7 +750,7 @@ public class XMPSchema extends AbstractS
         ArrayProperty array = (ArrayProperty) getAbstractProperty(qualifiedArrayName);
         if (array != null)
         {
-            ArrayList<AbstractField> toDelete = new ArrayList<AbstractField>();
+            List<AbstractField> toDelete = new ArrayList<AbstractField>();
             Iterator<AbstractField> it = array.getContainer().getAllProperties().iterator();
             while (it.hasNext())
             {
@@ -888,7 +888,7 @@ public class XMPSchema extends AbstractS
         ArrayProperty seq = (ArrayProperty) getAbstractProperty(qualifiedSeqName);
         if (seq != null)
         {
-            ArrayList<AbstractField> toDelete = new ArrayList<AbstractField>();
+            List<AbstractField> toDelete = new ArrayList<AbstractField>();
             Iterator<AbstractField> it = seq.getContainer().getAllProperties().iterator();
             while (it.hasNext())
             {
@@ -992,8 +992,8 @@ public class XMPSchema extends AbstractS
         if (xdefaultFound)
         {
             it = alt.getAllProperties().iterator();
-            ArrayList<AbstractField> reordered = new ArrayList<AbstractField>();
-            ArrayList<AbstractField> toDelete = new ArrayList<AbstractField>();
+            List<AbstractField> reordered = new ArrayList<AbstractField>();
+            List<AbstractField> toDelete = new ArrayList<AbstractField>();
             reordered.add(xdefault);
             while (it.hasNext())
             {



Mime
View raw message