1
0

Deprecate

org.apache.commons.logging.impl.Jdk13LumberjackLogger.dummyLevel without
replacement
This commit is contained in:
Gary Gregory
2023-11-26 15:04:55 -05:00
parent 768c5ee741
commit 1290cecf73
2 changed files with 6 additions and 0 deletions

View File

@@ -104,6 +104,9 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" dev="ggregory" due-to="Gary Gregory"> <action type="fix" dev="ggregory" due-to="Gary Gregory">
Fix SpotBugs [ERROR] Medium: Switch statement found in org.apache.commons.logging.impl.SimpleLog.log(int, Object, Throwable) where default case is missing [org.apache.commons.logging.impl.SimpleLog] At SimpleLog.java:[lines 505-522] SF_SWITCH_NO_DEFAULT. Fix SpotBugs [ERROR] Medium: Switch statement found in org.apache.commons.logging.impl.SimpleLog.log(int, Object, Throwable) where default case is missing [org.apache.commons.logging.impl.SimpleLog] At SimpleLog.java:[lines 505-522] SF_SWITCH_NO_DEFAULT.
</action> </action>
<action type="fix" dev="ggregory" due-to="Gary Gregory">
Deprecate org.apache.commons.logging.impl.Jdk13LumberjackLogger.dummyLevel without replacement.
</action>
<!-- UPDATE --> <!-- UPDATE -->
<action dev="ggregory" type="update" due-to="Gary Gregory"> <action dev="ggregory" type="update" due-to="Gary Gregory">
Bump Java from 6 to 8. Bump Java from 6 to 8.

View File

@@ -46,7 +46,10 @@ public class Jdk13LumberjackLogger implements Log, Serializable {
* this class in a pre-1.4 JVM will result in an ExceptionInInitializerError. * this class in a pre-1.4 JVM will result in an ExceptionInInitializerError.
* It must not be private, as an optimizing compiler could detect that it * It must not be private, as an optimizing compiler could detect that it
* is not used and optimize it away. * is not used and optimize it away.
*
* @deprecated No longer used.
*/ */
@Deprecated
protected static final Level dummyLevel = Level.FINE; protected static final Level dummyLevel = Level.FINE;
/** /**