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 2009/06/23 15:17:20 UTC

svn commit: r787667 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java

Author: acumiskey
Date: Tue Jun 23 13:17:20 2009
New Revision: 787667

URL: http://svn.apache.org/viewvc?rev=787667&view=rev
Log:
Added generics comments.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java?rev=787667&r1=787666&r2=787667&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java Tue Jun 23 13:17:20 2009
@@ -53,7 +53,7 @@
     protected FONode firstChild;
 
     /** The list of extension attachments, null if none */
-    private List extensionAttachments = null;
+    private List/*<ExtensionAttachment>*/ extensionAttachments = null;
 
     /** The map of foreign attributes, null if none */
     private Map foreignAttributes = null;
@@ -554,7 +554,7 @@
                     "Parameter attachment must not be null");
         }
         if (extensionAttachments == null) {
-            extensionAttachments = new java.util.ArrayList();
+            extensionAttachments = new java.util.ArrayList/*<ExtensionAttachment>*/();
         }
         if (log.isDebugEnabled()) {
             log.debug("ExtensionAttachment of category "
@@ -565,7 +565,7 @@
     }
 
     /** @return the extension attachments of this FObj. */
-    public List getExtensionAttachments() {
+    public List/*<ExtensionAttachment>*/ getExtensionAttachments() {
         if (extensionAttachments == null) {
             return Collections.EMPTY_LIST;
         } else {



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