Переглянути джерело

Merge pull request #696 from csmith/master

Fix stupid broken error message.
pull/697/head
Greg Holmes 8 роки тому
джерело
коміт
9bb25dbc42
1 змінених файлів з 1 додано та 2 видалено
  1. 1
    2
      src/main/java/com/dmdirc/util/LogUtils.java

+ 1
- 2
src/main/java/com/dmdirc/util/LogUtils.java Переглянути файл

@@ -133,8 +133,7 @@ public final class LogUtils {
133 133
             }
134 134
 
135 135
             if (throwable == null) {
136
-                throw new ReflectiveOperationException("Unable to find ctor of "
137
-                        + clazz.getClass());
136
+                throw new ReflectiveOperationException("Unable to find ctor of " + clazz);
138 137
             }
139 138
         }
140 139
         throwable.setStackTrace(getStackTraceElements(proxy.getStackTraceElementProxyArray()));

Завантаження…
Відмінити
Зберегти