Fixed StackOverflowError in InternalLoggerFactory.getInstance()

This commit is contained in:
Trustin Lee 2008-08-09 23:25:20 +00:00
parent e50a736c29
commit 7c2934c15f

View File

@ -44,7 +44,7 @@ public abstract class InternalLoggerFactory {
} }
public static InternalLogger getInstance(Class<?> clazz) { public static InternalLogger getInstance(Class<?> clazz) {
return getInstance(clazz); return getInstance(clazz.getName());
} }
public static InternalLogger getInstance(String name) { public static InternalLogger getInstance(String name) {