xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerem...@apache.org
Subject svn commit: r557934 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/FixedLength.java
Date Fri, 20 Jul 2007 09:17:21 GMT
Author: jeremias
Date: Fri Jul 20 02:17:21 2007
New Revision: 557934

URL: http://svn.apache.org/viewvc?view=rev&rev=557934
Log:
Fix bug in equals() that made caching effect-less.

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/FixedLength.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/FixedLength.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/FixedLength.java?view=diff&rev=557934&r1=557933&r2=557934
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/FixedLength.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/properties/FixedLength.java Fri Jul 20
02:17:21 2007
@@ -152,7 +152,7 @@
      * {@inheritDoc}
      */
     public boolean equals(Object obj) {
-        if (obj instanceof EnumProperty) {
+        if (obj instanceof FixedLength) {
             return (((FixedLength)obj).millipoints == this.millipoints);
         } else {
             return false;



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


Mime
View raw message