Use compact array declaration
This commit is contained in:
@@ -169,7 +169,7 @@ public final class Log4jApiLogFactory extends LogFactory {
|
||||
|
||||
}
|
||||
|
||||
private static final String[] EMPTY_ARRAY = new String[0];
|
||||
private static final String[] EMPTY_ARRAY = {};
|
||||
|
||||
/**
|
||||
* Marker used by all messages coming from Apache Commons Logging.
|
||||
|
||||
@@ -246,9 +246,9 @@ public final class Slf4jLogFactory extends LogFactory {
|
||||
}
|
||||
}
|
||||
|
||||
private static final Object[] EMPTY_OBJECT_ARRAY = new Object[0];
|
||||
private static final Object[] EMPTY_OBJECT_ARRAY = {};
|
||||
|
||||
private static final String[] EMPTY_STRING_ARRAY = new String[0];
|
||||
private static final String[] EMPTY_STRING_ARRAY = {};
|
||||
|
||||
/**
|
||||
* Marker used by all messages coming from Apache Commons Logging.
|
||||
|
||||
Reference in New Issue
Block a user