Selaa lähdekoodia

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
tags/fop-1_1rc1old
Glenn Adams 12 vuotta sitten
vanhempi
commit
3bbb86658e
2 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 1
    1
      src/java/org/apache/fop/afp/AFPResourceLevel.java
  2. 3
    0
      status.xml

+ 1
- 1
src/java/org/apache/fop/afp/AFPResourceLevel.java Näytä tiedosto

@@ -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));
}

+ 3
- 0
status.xml Näytä tiedosto

@@ -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>

Loading…
Peruuta
Tallenna