diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-09-03 11:57:00 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-09-03 11:57:00 +0000 |
commit | baac82fa75627ad03f48ae284eaabf501accb9fa (patch) | |
tree | 137781f5f6eddac32d798f2d7f3f9060e0759c1e /src/java/org | |
parent | ddb61f5fd7f4659d7c6f4ccfd225c6c1b73fb7d3 (diff) | |
download | xmlgraphics-fop-baac82fa75627ad03f48ae284eaabf501accb9fa.tar.gz xmlgraphics-fop-baac82fa75627ad03f48ae284eaabf501accb9fa.zip |
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
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/render/afp/AFPResourceInfo.java | 4 |
1 files 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 |