Use String.isEmpty()
This commit is contained in:
@@ -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