No effective change - Code cleanup, remove unused param

This commit is contained in:
Robin Bygrave
2015-07-31 13:33:35 +12:00
parent 9fd936c521
commit 331d28b512
4 changed files with 4 additions and 4 deletions
@@ -54,7 +54,7 @@ public abstract class BeanRequest {
* not then create one implicitly to handle the request.
* </p>
*/
public void createImplicitTransIfRequired(boolean readOnlyTransaction) {
public void createImplicitTransIfRequired() {
if (transaction == null) {
transaction = ebeanServer.getCurrentServerTransaction();
if (transaction == null || !transaction.isActive()) {
@@ -86,7 +86,7 @@ public abstract class PersistRequest extends BeanRequest implements BatchPostExe
}
public void initTransIfRequired() {
createImplicitTransIfRequired(false);
createImplicitTransIfRequired();
persistCascade = transaction.isPersistCascade();
}
@@ -157,7 +157,7 @@ public final class PersistRequestBean<T> extends PersistRequest implements BeanP
* Init the transaction and also check for batch on cascade escalation.
*/
public void initTransIfRequiredWithBatchCascade() {
createImplicitTransIfRequired(false);
createImplicitTransIfRequired();
if (transaction.checkBatchEscalationOnCascade(this)) {
// we escalated to use batch mode so flush when done
// but if createdTransaction then commit will flush it
@@ -30,7 +30,7 @@ public class BeanPropertyAssocManyJsonTransient {
// read map using Jackson object mapper with unknown key type
TypeFactory typeFactory = mapper.getTypeFactory();
JavaType target = typeFactory.constructType(many.getTargetType());
MapType jacksonType = typeFactory.constructMapType(LinkedHashMap.class, typeFactory.unknownType(), target);
MapType jacksonType = typeFactory.constructMapType(LinkedHashMap.class, TypeFactory.unknownType(), target);
value = mapper.readValue(readJson.getParser(), jacksonType);
} else {