Refactor - change use of 31 prime in various hash to 92821

This commit is contained in:
Rob Bygrave
2016-11-07 23:57:51 +13:00
parent 376cb9ebcb
commit 2986290947
7 changed files with 20 additions and 20 deletions
@@ -48,9 +48,9 @@ class RawSqlQueryPlanKey implements CQueryPlanKey {
@Override
public int hashCode() {
int result = sql.hashCode();
result = 31 * result + (rawSql ? 1 : 0);
result = 31 * result + (rowNumberIncluded ? 1 : 0);
result = 31 * result + logWhereSql.hashCode();
result = 92821 * result + (rawSql ? 1 : 0);
result = 92821 * result + (rowNumberIncluded ? 1 : 0);
result = 92821 * result + logWhereSql.hashCode();
return result;
}
}