diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/afp/AFPResourceInfo.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/AFPResourceInfo.java b/src/java/org/apache/fop/afp/AFPResourceInfo.java index 39c270054..76bb3c902 100644 --- a/src/java/org/apache/fop/afp/AFPResourceInfo.java +++ b/src/java/org/apache/fop/afp/AFPResourceInfo.java @@ -159,7 +159,8 @@ public class AFPResourceInfo { AFPResourceInfo ri = (AFPResourceInfo)obj; return (uri == ri.uri || uri != null && uri.equals(ri.uri)) - && (imageDimension == ri.imageDimension ||imageDimension != null && imageDimension.equals(ri.imageDimension)) + && (imageDimension == ri.imageDimension + || imageDimension != null && imageDimension.equals(ri.imageDimension)) && (name == ri.name ||name != null && name.equals(ri.name)) && (level == ri.level ||level != null && level.equals(ri.level)); } |