1
0

Use String.isEmpty()

This commit is contained in:
Gary Gregory
2022-10-02 13:39:32 -04:00
parent 12e1186094
commit 32891becf5

View File

@@ -544,7 +544,7 @@ public abstract class LogFactory {
rd.close();
}
if (factoryClassName != null && ! "".equals(factoryClassName)) {
if (factoryClassName != null && ! factoryClassName.isEmpty()) {
if (isDiagnosticsEnabled()) {
logDiagnostic("[LOOKUP] Creating an instance of LogFactory class " +
factoryClassName +