File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/main/java/org/apache/ibatis Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 29
29
class PooledConnection implements InvocationHandler {
30
30
31
31
private static final String CLOSE = "close" ;
32
- private static final Class <?>[] IFACES = new Class <?>[] { Connection .class };
32
+ private static final Class <?>[] IFACES = { Connection .class };
33
33
34
34
private final int hashCode ;
35
35
private final PooledDataSource dataSource ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public abstract class AbstractSerialStateHolder implements Externalizable {
42
42
43
43
private static final long serialVersionUID = 8940388717901644661L ;
44
44
private static final ThreadLocal <ObjectOutputStream > stream = new ThreadLocal <>();
45
- private byte [] userBeanBytes = new byte [ 0 ] ;
45
+ private byte [] userBeanBytes = {} ;
46
46
private Object userBean ;
47
47
private Map <String , ResultLoaderMap .LoadPair > unloadedProperties ;
48
48
private ObjectFactory objectFactory ;
Original file line number Diff line number Diff line change 27
27
*/
28
28
public abstract class BaseWrapper implements ObjectWrapper {
29
29
30
- protected static final Object [] NO_ARGUMENTS = new Object [ 0 ] ;
30
+ protected static final Object [] NO_ARGUMENTS = {} ;
31
31
protected final MetaObject metaObject ;
32
32
33
33
protected BaseWrapper (MetaObject metaObject ) {
You can’t perform that action at this time.
0 commit comments