From: Adrian Cumiskey Date: Wed, 3 Sep 2008 11:57:00 +0000 (+0000) Subject: Set the resource level to the default value if not set. X-Git-Tag: fop-1_0~376^2~78 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=baac82fa75627ad03f48ae284eaabf501accb9fa;p=xmlgraphics-fop.git Set the resource level to the default value if not set. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@691582 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/render/afp/AFPResourceInfo.java b/src/java/org/apache/fop/render/afp/AFPResourceInfo.java index fd9ae23e5..147c83002 100644 --- a/src/java/org/apache/fop/render/afp/AFPResourceInfo.java +++ b/src/java/org/apache/fop/render/afp/AFPResourceInfo.java @@ -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