Преглед изворни кода

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()));

Loading…
Откажи
Сачувај