1
0

Redundant null check

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1362964 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley
2012-07-18 14:30:31 +00:00
parent cabf9b0bc0
commit 821ac94474

View File

@@ -650,7 +650,6 @@ public class SimpleLog implements Log, Serializable {
{
ClassLoader classLoader = null;
if (classLoader == null) {
try {
// Are we running on a JDK 1.2 or later system?
Method method = Thread.class.getMethod("getContextClassLoader",
@@ -692,7 +691,6 @@ public class SimpleLog implements Log, Serializable {
// Assume we are running on JDK 1.1
// ignore
}
}
if (classLoader == null) {
classLoader = SimpleLog.class.getClassLoader();