1
0

Document empty blocks

This commit is contained in:
Gary Gregory
2023-11-20 09:46:16 -05:00
parent 6e6b27c957
commit d262d0986e

View File

@@ -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
} }
} }
} }