Use String.isEmpty()
This commit is contained in:
1 parent
12e1186094
commit
32891becf5
1 file changed
+1
-1
@@ -544,7 +544,7 @@ public abstract class LogFactory {
|
|||||||
rd.close();
|
rd.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (factoryClassName != null && ! "".equals(factoryClassName)) {
|
if (factoryClassName != null && ! factoryClassName.isEmpty()) {
|
||||||
if (isDiagnosticsEnabled()) {
|
if (isDiagnosticsEnabled()) {
|
||||||
logDiagnostic("[LOOKUP] Creating an instance of LogFactory class " +
|
logDiagnostic("[LOOKUP] Creating an instance of LogFactory class " +
|
||||||
factoryClassName +
|
factoryClassName +
|
||||||
|
|||||||
Reference in new issue
Block a user