Internal SpiQuery : remove unused convertWhereNaturalKeyToId()

This commit is contained in:
Robin Bygrave committed 2015-07-20 12:40:08 +12:00
1 parent f45d240682
commit b794b6c77e
2 files changed
+10 -10

No files matched your search

@@ -389,11 +389,6 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
select(beanDescriptor.getIdBinder().getIdProperty());
}
public void convertWhereNaturalKeyToId(Object idValue) {
whereExpressions = new DefaultExpressionList<T>(this, null);
setId(idValue);
}
public NaturalKeyBindParam getNaturalKeyBindParam() {
NaturalKeyBindParam namedBind = null;
if (bindParams != null) {
@@ -426,6 +421,10 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
}
public DefaultOrmQuery<T> copy() {
return copy(server);
}
public DefaultOrmQuery<T> copy(EbeanServer server) {
// Not including these in the copy:
// contextAdditions
// queryListener