Author: gbadner
Date: 2008-05-01 18:53:44 -0400 (Thu, 01 May 2008)
New Revision: 14630
Modified:
core/trunk/core/src/main/java/org/hibernate/cache/QueryKey.java
Log:
HHH-2021 : reformat fix for fragile QueryKey.equals()
Modified: core/trunk/core/src/main/java/org/hibernate/cache/QueryKey.java
===================================================================
--- core/trunk/core/src/main/java/org/hibernate/cache/QueryKey.java 2008-05-01 22:46:46
UTC (rev 14629)
+++ core/trunk/core/src/main/java/org/hibernate/cache/QueryKey.java 2008-05-01 22:53:44
UTC (rev 14630)
@@ -51,8 +51,8 @@
}
public boolean equals(Object other) {
- if (!(other instanceof QueryKey)) return false;
- QueryKey that = (QueryKey) other;
+ if (!(other instanceof QueryKey)) return false;
+ QueryKey that = (QueryKey) other;
if ( !sqlQueryString.equals(that.sqlQueryString) ) return false;
if ( !EqualsHelper.equals(firstRow, that.firstRow) || !EqualsHelper.equals(maxRows,
that.maxRows) ) return false;
if ( !EqualsHelper.equals(customTransformer, that.customTransformer) ) return false;
Show replies by date