diff --git a/pom.xml b/pom.xml
index 34923813..3cd8715f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -61,7 +61,6 @@
UTF-8
${user.name}-${maven.build.timestamp}
- 1.7.6
2.4.2
@@ -78,12 +77,6 @@
-
-
- org.slf4j
- slf4j-api
- ${slf4j.version}
-
com.fasterxml.jackson.core
jackson-databind
diff --git a/src/main/java/io/jsonwebtoken/lang/Classes.java b/src/main/java/io/jsonwebtoken/lang/Classes.java
index b8a62e1b..e031d792 100644
--- a/src/main/java/io/jsonwebtoken/lang/Classes.java
+++ b/src/main/java/io/jsonwebtoken/lang/Classes.java
@@ -15,9 +15,6 @@
*/
package io.jsonwebtoken.lang;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
import java.io.InputStream;
import java.lang.reflect.Constructor;
@@ -26,11 +23,6 @@ import java.lang.reflect.Constructor;
*/
public class Classes {
- /**
- * Private internal log instance.
- */
- private static final Logger log = LoggerFactory.getLogger(Classes.class);
-
/**
* @since 0.1
*/
@@ -78,18 +70,10 @@ public class Classes {
Class clazz = THREAD_CL_ACCESSOR.loadClass(fqcn);
if (clazz == null) {
- if (log.isTraceEnabled()) {
- log.trace("Unable to load class named [" + fqcn +
- "] from the thread context ClassLoader. Trying the current ClassLoader...");
- }
clazz = CLASS_CL_ACCESSOR.loadClass(fqcn);
}
if (clazz == null) {
- if (log.isTraceEnabled()) {
- log.trace("Unable to load class named [" + fqcn + "] from the current ClassLoader. " +
- "Trying the system/application ClassLoader...");
- }
clazz = SYSTEM_CL_ACCESSOR.loadClass(fqcn);
}
@@ -212,9 +196,7 @@ public class Classes {
try {
clazz = cl.loadClass(fqcn);
} catch (ClassNotFoundException e) {
- if (log.isTraceEnabled()) {
- log.trace("Unable to load clazz named [" + fqcn + "] from class loader [" + cl + "]");
- }
+ //Class couldn't be found by loader
}
}
return clazz;
@@ -233,9 +215,7 @@ public class Classes {
try {
return doGetClassLoader();
} catch (Throwable t) {
- if (log.isDebugEnabled()) {
- log.debug("Unable to acquire ClassLoader.", t);
- }
+ //Unable to get ClassLoader
}
return null;
}