Author: lbernardo Date: Wed Sep 16 15:43:21 2015 New Revision: 1703427 URL: http://svn.apache.org/r1703427 Log: FOP-2157: Deadlock in CompareUtil class; fixed typo spotted by Jens Schreiber
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/util/CompareUtil.java Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/util/CompareUtil.java URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/util/CompareUtil.java?rev=1703427&r1=1703426&r2=1703427&view=diff ============================================================================== --- xmlgraphics/fop/trunk/src/java/org/apache/fop/util/CompareUtil.java (original) +++ xmlgraphics/fop/trunk/src/java/org/apache/fop/util/CompareUtil.java Wed Sep 16 15:43:21 2015 @@ -44,7 +44,7 @@ public final class CompareUtil { */ public static boolean equal(Object o1, Object o2) { int o1Hash = System.identityHashCode(o1); - int o2Hash = System.identityHashCode(o1); + int o2Hash = System.identityHashCode(o2); if (o1Hash == o2Hash && o1 != o2 && o1Hash != 0) { // in the rare case of different objects with the same hash code, // the tieLock object is used to synchronize access --------------------------------------------------------------------- To unsubscribe, e-mail: fop-commits-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-commits-h...@xmlgraphics.apache.org