mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - code cleanup - change return to void
This commit is contained in:
1 parent
ea504a93cf
commit
f06c1b83a9
21 files changed
+45
-72
No files matched your search
@@ -888,15 +888,13 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
|
||||
return this;
|
||||
}
|
||||
|
||||
public DefaultOrmQuery<T> setQuery(String queryString) throws PersistenceException {
|
||||
public void setQuery(String queryString) throws PersistenceException {
|
||||
|
||||
this.query = queryString;
|
||||
|
||||
OrmQueryDetailParser parser = new OrmQueryDetailParser(queryString);
|
||||
parser.parse();
|
||||
parser.assign(this);
|
||||
|
||||
return this;
|
||||
}
|
||||
|
||||
protected void setOrmQueryDetail(OrmQueryDetail detail) {
|
||||
@@ -1111,9 +1109,8 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
|
||||
/**
|
||||
* Internally set to use SQL DISTINCT on the query but still have id property included.
|
||||
*/
|
||||
public DefaultOrmQuery<T> setSqlDistinct(boolean sqlDistinct) {
|
||||
public void setSqlDistinct(boolean sqlDistinct) {
|
||||
this.sqlDistinct = sqlDistinct;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Class<T> getBeanType() {
|
||||
|
||||
@@ -258,12 +258,11 @@ public class OrmQueryDetail implements Serializable {
|
||||
* @param partialProps
|
||||
* the properties on the join property to include
|
||||
*/
|
||||
public OrmQueryProperties addFetch(String path, String partialProps, FetchConfig fetchConfig) {
|
||||
public void addFetch(String path, String partialProps, FetchConfig fetchConfig) {
|
||||
|
||||
OrmQueryProperties chunk = getChunk(path, true);
|
||||
chunk.setProperties(partialProps);
|
||||
chunk.setFetchConfig(fetchConfig);
|
||||
return chunk;
|
||||
}
|
||||
|
||||
public void sortFetchPaths(BeanDescriptor<?> d) {
|
||||
|
||||
@@ -443,10 +443,9 @@ public class OrmQueryProperties implements Serializable {
|
||||
return included == null || included.contains(propName);
|
||||
}
|
||||
|
||||
public OrmQueryProperties setQueryFetch(int batch, boolean queryFetchAll) {
|
||||
public void setQueryFetch(int batch, boolean queryFetchAll) {
|
||||
this.queryFetchBatch = batch;
|
||||
this.queryFetchAll = queryFetchAll;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isFetchJoin() {
|
||||
|
||||
Reference in new issue
Block a user