mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 06:57:24 +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
@@ -54,17 +54,15 @@ public class HashQueryPlanBuilder {
|
||||
/**
|
||||
* Add a number to the bind count for the hash.
|
||||
*/
|
||||
public HashQueryPlanBuilder bind(int extraBindCount) {
|
||||
public void bind(int extraBindCount) {
|
||||
bindCount += extraBindCount;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add raw sql to the hash.
|
||||
*/
|
||||
public HashQueryPlanBuilder addRawSql(String rawSql) {
|
||||
public void addRawSql(String rawSql) {
|
||||
this.rawSql = rawSql;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -243,8 +243,8 @@ public class ScopedTransaction implements SpiTransaction {
|
||||
}
|
||||
|
||||
@Override
|
||||
public int depth(int diff) {
|
||||
return transaction.depth();
|
||||
public void depth(int diff) {
|
||||
transaction.depth();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -586,7 +586,7 @@ public interface SpiQuery<T> extends Query<T> {
|
||||
* <p>
|
||||
* This does not exclude/remove the use of the id property.
|
||||
*/
|
||||
Query<T> setSqlDistinct(boolean sqlDistinct);
|
||||
void setSqlDistinct(boolean sqlDistinct);
|
||||
|
||||
/**
|
||||
* Return true if this query has been specified by a user or internally by Ebean to use DISTINCT.
|
||||
|
||||
@@ -125,7 +125,7 @@ public interface SpiTransaction extends Transaction {
|
||||
* executed first during save.
|
||||
* </p>
|
||||
*/
|
||||
int depth(int diff);
|
||||
void depth(int diff);
|
||||
|
||||
/**
|
||||
* Return the current depth.
|
||||
|
||||
Reference in new issue
Block a user