]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Set the resource level to the default value if not set.
authorAdrian Cumiskey <acumiskey@apache.org>
Wed, 3 Sep 2008 11:57:00 +0000 (11:57 +0000)
committerAdrian Cumiskey <acumiskey@apache.org>
Wed, 3 Sep 2008 11:57:00 +0000 (11:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@691582 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/afp/AFPResourceInfo.java

index fd9ae23e540ddf37f43d200c0048b82b622ff277..147c830023d242ca426b14e3cd7c4c72da877f4f 100644 (file)
@@ -27,13 +27,13 @@ public class AFPResourceInfo {
         = 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