aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-04-07 04:15:41 +0000
committerGlenn Adams <gadams@apache.org>2012-04-07 04:15:41 +0000
commit3bbb86658ef99f38973e1c6b0b4d08922f4700eb (patch)
treeef3732a5a515f6a24c99452c9aaca88a5d24297f /src
parent82712c6d2d8fca7b78296be29dedf7627ca2ed50 (diff)
downloadxmlgraphics-fop-3bbb86658ef99f38973e1c6b0b4d08922f4700eb.tar.gz
xmlgraphics-fop-3bbb86658ef99f38973e1c6b0b4d08922f4700eb.zip
Bugzilla #49350: Fix coding error in AFPResourceLevel#equals.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310669 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/afp/AFPResourceLevel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/afp/AFPResourceLevel.java b/src/java/org/apache/fop/afp/AFPResourceLevel.java
index 327a99bd5..d884b56a6 100644
--- a/src/java/org/apache/fop/afp/AFPResourceLevel.java
+++ b/src/java/org/apache/fop/afp/AFPResourceLevel.java
@@ -186,7 +186,7 @@ public class AFPResourceLevel {
}
AFPResourceLevel rl = (AFPResourceLevel)obj;
- return (level == level)
+ return (level == rl.level)
&& (extFilePath == rl.extFilePath
|| extFilePath != null && extFilePath.equals(rl.extFilePath));
}