mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - code cleanup - remove unnecessary boxing
This commit is contained in:
1 parent
ba3b1fea6f
commit
9fe47194ff
34 files changed
+55
-78
No files matched your search
@@ -442,7 +442,7 @@ public class DefaultAutoFetchManager implements AutoFetchManager, Serializable {
|
||||
Boolean autoFetch = query.isAutofetch();
|
||||
if (autoFetch != null) {
|
||||
// explicitly set...
|
||||
return autoFetch.booleanValue();
|
||||
return autoFetch;
|
||||
|
||||
} else {
|
||||
// determine using implicit mode...
|
||||
|
||||
@@ -2,7 +2,6 @@ package com.avaje.ebeaninternal.server.autofetch;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ public class TunedQueryInfo implements Serializable {
|
||||
*/
|
||||
private int profileCount;
|
||||
|
||||
private Long lastTuneTime = Long.valueOf(0);
|
||||
private Long lastTuneTime = (long) 0;
|
||||
|
||||
private final String rateMonitor = new String();
|
||||
|
||||
@@ -87,7 +87,7 @@ public class TunedQueryInfo implements Serializable {
|
||||
public void setTunedDetail(OrmQueryDetail tunedDetail) {
|
||||
// assignment is atomic
|
||||
this.tunedDetail = tunedDetail;
|
||||
this.lastTuneTime = Long.valueOf(System.currentTimeMillis());
|
||||
this.lastTuneTime = System.currentTimeMillis();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user