]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugzilla #49350: Fix coding error in AFPResourceLevel#equals.
authorGlenn Adams <gadams@apache.org>
Sat, 7 Apr 2012 04:15:41 +0000 (04:15 +0000)
committerGlenn Adams <gadams@apache.org>
Sat, 7 Apr 2012 04:15:41 +0000 (04:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310669 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/afp/AFPResourceLevel.java
status.xml

index 327a99bd5b65f851d1a22a315fda68856b20aaec..d884b56a619d2ef2c15b52639bc00f02d00dcf04 100644 (file)
@@ -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));
     }
index ef2fcc3deab54a3fe00a6d2175266bae4179a4ed..28fef4011e3601d0b83b47d430d5c46be7b05772 100644 (file)
@@ -62,6 +62,9 @@
       documents. Example: the fix of marks layering will be such a case when it's done.
     -->
     <release version="FOP Trunk" date="TBD">
+      <action context="Code" dev="GA" type="fix" fixes-bug="49350" due-to="Julien AymĂ©">
+        Correct coding error in AFPResourceLevel#equals.
+      </action>
       <action context="Code" dev="GA" type="fix" fixes-bug="51836" due-to="Melanie Drake">
         Throw IFException instead of NPE if navigation target (page reference) doesn't exist.
       </action>