#566 - Refactor internals - SpiExpression, add prepareExpression() to merge queryAutoTuneHash() and queryPlanHash() - remove unused

This commit is contained in:
Robin Bygrave
2016-02-15 10:21:22 +13:00
parent 076f8a03b9
commit 165d4aca92
@@ -317,18 +317,6 @@ public class OrmQueryProperties implements Serializable {
secondaryChildren.add(child);
}
public int autoTunePlanHash() {
int hc = (path != null ? path.hashCode() : 1);
if (properties != null) {
hc = hc * 31 + properties.hashCode();
} else {
hc = hc * 31 + (included != null ? included.hashCode() : 1);
}
return hc;
}
/**
* Calculate the query plan hash.
*/