Document empty blocks
This commit is contained in:
@@ -97,7 +97,8 @@ public class LogSource {
|
|||||||
if (name == null) {
|
if (name == null) {
|
||||||
name = System.getProperty("org.apache.commons.logging.Log");
|
name = System.getProperty("org.apache.commons.logging.Log");
|
||||||
}
|
}
|
||||||
} catch (final Throwable t) {
|
} catch (final Throwable ignore) {
|
||||||
|
// Ignore
|
||||||
}
|
}
|
||||||
if (name != null) {
|
if (name != null) {
|
||||||
try {
|
try {
|
||||||
@@ -105,8 +106,8 @@ public class LogSource {
|
|||||||
} catch (final Throwable t) {
|
} catch (final Throwable t) {
|
||||||
try {
|
try {
|
||||||
setLogImplementation("org.apache.commons.logging.impl.NoOpLog");
|
setLogImplementation("org.apache.commons.logging.impl.NoOpLog");
|
||||||
} catch (final Throwable u) {
|
} catch (final Throwable ignore) {
|
||||||
// ignored
|
// Ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@@ -121,8 +122,8 @@ public class LogSource {
|
|||||||
} catch (final Throwable t) {
|
} catch (final Throwable t) {
|
||||||
try {
|
try {
|
||||||
setLogImplementation("org.apache.commons.logging.impl.NoOpLog");
|
setLogImplementation("org.apache.commons.logging.impl.NoOpLog");
|
||||||
} catch (final Throwable u) {
|
} catch (final Throwable ignore) {
|
||||||
// ignored
|
// Ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user