Sunbit v2.4.4版本的 MD5 值为:a5021e5e2a58eb1d6741b432fe7533c4
以下内容为反编译后的 e.java 源代码,内容仅作参考
package q.j;
import java.io.Closeable;
import java.util.Map;
import org.slf4j.impl.StaticMDCBinder;
import q.j.i.i;
import q.j.i.m;
public class e {
static final String f22822a = "http://www.slf4j.org/codes.html#null_MDCA";
static final String b = "http://www.slf4j.org/codes.html#no_static_mdc_binder";
static q.j.j.c c;
public static class b implements Closeable {
private final String f22823a;
@Override
public void close() {
e.b(this.f22823a);
}
private b(String str) {
this.f22823a = str;
}
}
static {
try {
c = a();
} catch (Exception e2) {
m.a("MDC binding unsuccessful.", e2);
} catch (NoClassDefFoundError e3) {
c = new i();
String message = e3.getMessage();
if (message != null && message.contains("StaticMDCBinder")) {
m.a("Failed to load class \"org.slf4j.impl.StaticMDCBinder\".");
m.a("Defaulting to no-operation MDCAdapter implementation.");
m.a("See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.");
return;
}
throw e3;
}
}
private e() {
}
private static q.j.j.c a() throws NoClassDefFoundError {
try {
return StaticMDCBinder.getSingleton().getMDCA();
} catch (NoSuchMethodError unused) {
return StaticMDCBinder.SINGLETON.getMDCA();
}
}
public static b b(String str, String str2) throws IllegalArgumentException {
a(str, str2);
return new b(str);
}
public static Map<String, String> c() {
q.j.j.c cVar = c;
if (cVar != null) {
return cVar.a();
}
throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA");
}
public static q.j.j.c d() {
return c;
}
public static void a(String str, String str2) throws IllegalArgumentException {
if (str != null) {
q.j.j.c cVar = c;
if (cVar != null) {
cVar.put(str, str2);
return;
}
throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA");
}
throw new IllegalArgumentException("key parameter cannot be null");
}
public static void b(String str) throws IllegalArgumentException {
if (str != null) {
q.j.j.c cVar = c;
if (cVar != null) {
cVar.remove(str);
return;
}
throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA");
}
throw new IllegalArgumentException("key parameter cannot be null");
}
public static String a(String str) throws IllegalArgumentException {
if (str != null) {
q.j.j.c cVar = c;
if (cVar != null) {
return cVar.get(str);
}
throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA");
}
throw new IllegalArgumentException("key parameter cannot be null");
}
public static void b() {
q.j.j.c cVar = c;
if (cVar != null) {
cVar.clear();
return;
}
throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA");
}
public static void a(Map<String, String> map) {
q.j.j.c cVar = c;
if (cVar != null) {
cVar.a(map);
return;
}
throw new IllegalStateException("MDCAdapter cannot be null. See also http://www.slf4j.org/codes.html#null_MDCA");
}
}