You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ac...@apache.org on 2008/05/28 14:51:07 UTC

svn commit: r660928 - /xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/PageViewport.java

Author: acumiskey
Date: Wed May 28 05:51:07 2008
New Revision: 660928

URL: http://svn.apache.org/viewvc?rev=660928&view=rev
Log:
Generics comments added in preparation for java 1.5

Modified:
    xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/PageViewport.java

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/PageViewport.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/PageViewport.java?rev=660928&r1=660927&r2=660928&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/PageViewport.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/area/PageViewport.java Wed May 28 05:51:07 2008
@@ -89,7 +89,7 @@
     
     //Arbitrary attachments to the page from extensions that need to pass information
     //down to the renderers.
-    private List extensionAttachments = null;
+    private List/*<ExtensionAttachment>*/ extensionAttachments = null;
 
     /**
      * logging instance
@@ -122,7 +122,8 @@
      */
     public PageViewport(PageViewport original) {
         if (original.extensionAttachments != null) {
-            this.extensionAttachments = new java.util.ArrayList(original.extensionAttachments);
+            this.extensionAttachments
+                = new java.util.ArrayList/*<ExtensionAttachment>*/(original.extensionAttachments);
         }
         this.pageIndex = original.pageIndex;
         this.pageNumber = original.pageNumber;
@@ -588,7 +589,7 @@
      */
     public void addExtensionAttachment(ExtensionAttachment attachment) {
         if (this.extensionAttachments == null) {
-            this.extensionAttachments = new java.util.ArrayList();
+            this.extensionAttachments = new java.util.ArrayList/*<ExtensionAttachment>*/();
         }
         extensionAttachments.add(attachment);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org