No effective change - format only

This commit is contained in:
Robin Bygrave
2015-08-01 08:54:49 +12:00
parent f50b18556e
commit 4f2d669897
34 changed files with 1283 additions and 1291 deletions
@@ -12,28 +12,28 @@ import com.avaje.ebean.Transaction;
public class QueryFutureRowCount<T> extends BaseFuture<Integer> implements FutureRowCount<T> {
private final CallableQueryRowCount<T> call;
public QueryFutureRowCount(CallableQueryRowCount<T> call ) {
super(new FutureTask<Integer>(call));
this.call = call;
}
public FutureTask<Integer> getFutureTask() {
return futureTask;
}
public Transaction getTransaction() {
return call.transaction;
}
public Query<T> getQuery() {
return call.query;
}
public boolean cancel(boolean mayInterruptIfRunning) {
call.query.cancel();
return super.cancel(mayInterruptIfRunning);
}
public QueryFutureRowCount(CallableQueryRowCount<T> call) {
super(new FutureTask<Integer>(call));
this.call = call;
}
public FutureTask<Integer> getFutureTask() {
return futureTask;
}
public Transaction getTransaction() {
return call.transaction;
}
public Query<T> getQuery() {
return call.query;
}
public boolean cancel(boolean mayInterruptIfRunning) {
call.query.cancel();
return super.cancel(mayInterruptIfRunning);
}
}