You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ga...@apache.org on 2012/04/07 06:15:41 UTC

svn commit: r1310669 - in /xmlgraphics/fop/trunk: src/java/org/apache/fop/afp/AFPResourceLevel.java status.xml

Author: gadams
Date: Sat Apr  7 04:15:41 2012
New Revision: 1310669

URL: http://svn.apache.org/viewvc?rev=1310669&view=rev
Log:
Bugzilla #49350: Fix coding error in AFPResourceLevel#equals.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPResourceLevel.java
    xmlgraphics/fop/trunk/status.xml

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPResourceLevel.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPResourceLevel.java?rev=1310669&r1=1310668&r2=1310669&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPResourceLevel.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/afp/AFPResourceLevel.java Sat Apr  7 04:15:41 2012
@@ -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));
     }

Modified: xmlgraphics/fop/trunk/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/status.xml?rev=1310669&r1=1310668&r2=1310669&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/status.xml (original)
+++ xmlgraphics/fop/trunk/status.xml Sat Apr  7 04:15:41 2012
@@ -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>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org