From baac82fa75627ad03f48ae284eaabf501accb9fa Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Wed, 3 Sep 2008 11:57:00 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/render/afp/AFPResourceInfo.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5