mirror of https://github.com/qos-ch/slf4j
revert REQUESTED_API_VERSION to 1.6.99
This commit is contained in:
parent
c5ae991668
commit
96d32b3b66
|
|
@ -56,7 +56,7 @@ public class StaticLoggerBinder implements LoggerFactoryBinder {
|
|||
* The value of this field is modified with each major release.
|
||||
*/
|
||||
// to avoid constant folding by the compiler, this field must *not* be final
|
||||
public static String REQUESTED_API_VERSION = "1.7.x"; // !final
|
||||
public static String REQUESTED_API_VERSION = "1.6.99"; // !final
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ public class StaticLoggerBinder {
|
|||
* The value of this field is modified with each major release.
|
||||
*/
|
||||
// to avoid constant folding by the compiler, this field must *not* be final
|
||||
public static String REQUESTED_API_VERSION = "1.7.x"; // !final
|
||||
public static String REQUESTED_API_VERSION = "1.6.99"; // !final
|
||||
|
||||
private StaticLoggerBinder() {
|
||||
throw new UnsupportedOperationException("This code should have never made it into slf4j-api.jar");
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ public class StaticLoggerBinder implements LoggerFactoryBinder {
|
|||
* The value of this field is modified with each major release.
|
||||
*/
|
||||
// to avoid constant folding by the compiler, this field must *not* be final
|
||||
public static String REQUESTED_API_VERSION = "1.7.x"; // !final
|
||||
public static String REQUESTED_API_VERSION = "1.6.99"; // !final
|
||||
|
||||
|
||||
// Binding specific code:
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ public class StaticLoggerBinder implements LoggerFactoryBinder {
|
|||
* The value of this field is modified with each major release.
|
||||
*/
|
||||
// to avoid constant folding by the compiler, this field must *not* be final
|
||||
public static String REQUESTED_API_VERSION = "1.7.x"; // !final
|
||||
public static String REQUESTED_API_VERSION = "1.6.99"; // !final
|
||||
|
||||
private static final String loggerFactoryClassStr = org.slf4j.impl.JDK14LoggerFactory.class.getName();
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ public class StaticLoggerBinder implements LoggerFactoryBinder {
|
|||
* The value of this field is modified with each major release.
|
||||
*/
|
||||
// to avoid constant folding by the compiler, this field must *not* be final
|
||||
public static String REQUESTED_API_VERSION = "1.7.x"; // !final
|
||||
public static String REQUESTED_API_VERSION = "1.6.99"; // !final
|
||||
|
||||
private static final String loggerFactoryClassStr = Log4jLoggerFactory.class.getName();
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ public class StaticLoggerBinder implements LoggerFactoryBinder {
|
|||
* The value of this field is modified with each major release.
|
||||
*/
|
||||
// to avoid constant folding by the compiler, this field must *not* be final
|
||||
public static String REQUESTED_API_VERSION = "1.7.x"; // !final
|
||||
public static String REQUESTED_API_VERSION = "1.6.99"; // !final
|
||||
|
||||
private static final String loggerFactoryClassStr = NOPLoggerFactory.class.getName();
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ public class StaticLoggerBinder implements LoggerFactoryBinder {
|
|||
* The value of this field is modified with each major release.
|
||||
*/
|
||||
// to avoid constant folding by the compiler, this field must *not* be final
|
||||
public static String REQUESTED_API_VERSION = "1.7.x"; // !final
|
||||
public static String REQUESTED_API_VERSION = "1.6.99"; // !final
|
||||
|
||||
private static final String loggerFactoryClassStr = SimpleLoggerFactory.class.getName();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue