No effective change - remove unused methods

This commit is contained in:
Robin Bygrave
2015-07-27 15:54:20 +12:00
parent d0d5ab474d
commit 97adb76eac
@@ -447,36 +447,12 @@ public class OrmQueryProperties implements Serializable {
return included.contains(propName);
}
/**
* Used to convert this join to a query join.
*
* @param queryJoinBatch
* where -1 means not a query join and 0 means use the default batch size.
*/
public OrmQueryProperties setQueryFetchBatch(int queryFetchBatch) {
this.queryFetchBatch = queryFetchBatch;
return this;
}
public OrmQueryProperties setQueryFetchAll(boolean queryFetchAll) {
this.queryFetchAll = queryFetchAll;
return this;
}
public OrmQueryProperties setQueryFetch(int batch, boolean queryFetchAll) {
this.queryFetchBatch = batch;
this.queryFetchAll = queryFetchAll;
return this;
}
/**
* Set the lazy loading batch size.
*/
public OrmQueryProperties setLazyFetchBatch(int lazyFetchBatch) {
this.lazyFetchBatch = lazyFetchBatch;
return this;
}
public boolean isFetchJoin() {
return !isQueryFetch() && !isLazyFetch();
}
@@ -592,7 +568,7 @@ public class OrmQueryProperties implements Serializable {
LinkedHashSet<String> set = new LinkedHashSet<String>(res.length + 3);
String temp = null;
String temp;
for (int i = 0; i < res.length; i++) {
temp = res[i].trim();
if (temp.length() > 0) {
@@ -600,10 +576,6 @@ public class OrmQueryProperties implements Serializable {
}
}
if (set.isEmpty()) {
return null;
}
return Collections.unmodifiableSet(set);
}
}