mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - remove unused methods
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user