1
0

Format tweaks

This commit is contained in:
Gary Gregory
2023-10-22 07:50:05 -04:00
parent 34c37d6e7d
commit 5cbd34c654

View File

@@ -1001,7 +1001,7 @@ public class LogFactoryImpl extends LogFactory {
// Ok, the lib is there but while trying to create a real underlying // Ok, the lib is there but while trying to create a real underlying
// logger something failed in the underlying lib; display info about // logger something failed in the underlying lib; display info about
// that if possible. // that if possible.
final InvocationTargetException ite = (InvocationTargetException)discoveryFlaw; final InvocationTargetException ite = (InvocationTargetException) discoveryFlaw;
final Throwable cause = ite.getTargetException(); final Throwable cause = ite.getTargetException();
if (cause != null) { if (cause != null) {
logDiagnostic("... InvocationTargetException: " + logDiagnostic("... InvocationTargetException: " +
@@ -1009,7 +1009,7 @@ public class LogFactoryImpl extends LogFactory {
cause.getLocalizedMessage()); cause.getLocalizedMessage());
if (cause instanceof ExceptionInInitializerError) { if (cause instanceof ExceptionInInitializerError) {
final ExceptionInInitializerError eiie = (ExceptionInInitializerError)cause; final ExceptionInInitializerError eiie = (ExceptionInInitializerError) cause;
final Throwable cause2 = eiie.getCause(); final Throwable cause2 = eiie.getCause();
if (cause2 != null) { if (cause2 != null) {
final StringWriter sw = new StringWriter(); final StringWriter sw = new StringWriter();