Просмотр исходного кода

Merge pull request #696 from csmith/master

Fix stupid broken error message.
pull/697/head
Greg Holmes 8 лет назад
Родитель
Сommit
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()));

Загрузка…
Отмена
Сохранить