Selaa lähdekoodia

Merge pull request #696 from csmith/master

Fix stupid broken error message.
pull/697/head
Greg Holmes 8 vuotta sitten
vanhempi
commit
9bb25dbc42
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1
    2
      src/main/java/com/dmdirc/util/LogUtils.java

+ 1
- 2
src/main/java/com/dmdirc/util/LogUtils.java Näytä tiedosto

@@ -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…
Peruuta
Tallenna