瀏覽代碼

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…
取消
儲存