remove unreachable code, see issues/371

Signed-off-by: Ceki Gulcu <ceki@qos.ch>
This commit is contained in:
Ceki Gulcu 2023-12-05 10:02:43 +01:00
parent 02b36a269a
commit 5ccbe20b11
1 changed files with 0 additions and 5 deletions

View File

@ -377,11 +377,6 @@ public final class LoggerFactory {
+ Arrays.asList(API_COMPATIBILITY_LIST).toString());
Reporter.warn("See " + VERSION_MISMATCH + " for further details.");
}
} catch (java.lang.NoSuchFieldError nsfe) {
// given our large user base and SLF4J's commitment to backward
// compatibility, we cannot cry here. Only for implementations
// which willingly declare a REQUESTED_API_VERSION field do we
// emit compatibility warnings.
} catch (Throwable e) {
// we should never reach here
Reporter.error("Unexpected problem occurred during version sanity check", e);