Author: acumiskey
Date: Wed Sep  3 04:57:00 2008
New Revision: 691582

URL: http://svn.apache.org/viewvc?rev=691582&view=rev
Log:
Set the resource level to the default value if not set.

Modified:
    
xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/render/afp/AFPResourceInfo.java

Modified: 
xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/render/afp/AFPResourceInfo.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/render/afp/AFPResourceInfo.java?rev=691582&r1=691581&r2=691582&view=diff
==============================================================================
--- 
xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/render/afp/AFPResourceInfo.java
 (original)
+++ 
xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/render/afp/AFPResourceInfo.java
 Wed Sep  3 04:57:00 2008
@@ -27,13 +27,13 @@
         = new AFPResourceLevel(AFPResourceLevel.PRINT_FILE);
 
     /** the uri of this resource */
-    private String uri;
+    private String uri = null;
 
     /** the reference name of this resource */
     private String name = null;
 
     /** the resource levek of this resource */
-    private AFPResourceLevel level = null;
+    private AFPResourceLevel level = DEFAULT_LEVEL;
 
     /**
      * Sets the data object uri



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to