From 97adb76eacb1c34ad457dccb577d974d0fb21662 Mon Sep 17 00:00:00 2001 From: Robin Bygrave Date: Mon, 27 Jul 2015 15:54:20 +1200 Subject: [PATCH] No effective change - remove unused methods --- .../server/querydefn/OrmQueryProperties.java | 30 +------------------ 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/src/main/java/com/avaje/ebeaninternal/server/querydefn/OrmQueryProperties.java b/src/main/java/com/avaje/ebeaninternal/server/querydefn/OrmQueryProperties.java index 0ca9b3251..ba3c8e676 100644 --- a/src/main/java/com/avaje/ebeaninternal/server/querydefn/OrmQueryProperties.java +++ b/src/main/java/com/avaje/ebeaninternal/server/querydefn/OrmQueryProperties.java @@ -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 set = new LinkedHashSet(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); } }