提交 2c2a42a7 authored 作者: Thomas Mueller's avatar Thomas Mueller

Fix Eclipse 3.5 warnings

上级 bf0a4bb5
...@@ -184,10 +184,7 @@ public class Message { ...@@ -184,10 +184,7 @@ public class Message {
public static RuntimeException throwInternalError(String s) { public static RuntimeException throwInternalError(String s) {
RuntimeException e = new RuntimeException(s); RuntimeException e = new RuntimeException(s);
TraceSystem.traceThrowable(e); TraceSystem.traceThrowable(e);
if (true) { throw e;
throw e;
}
return e;
} }
/** /**
......
...@@ -592,7 +592,7 @@ class WebThread extends Thread implements DatabaseEventListener { ...@@ -592,7 +592,7 @@ class WebThread extends Thread implements DatabaseEventListener {
} else if ("CreateCluster".equals(toolName)) { } else if ("CreateCluster".equals(toolName)) {
tool = new CreateCluster(); tool = new CreateCluster();
} else { } else {
Message.throwInternalError(toolName); throw Message.throwInternalError(toolName);
} }
ByteArrayOutputStream outBuff = new ByteArrayOutputStream(); ByteArrayOutputStream outBuff = new ByteArrayOutputStream();
PrintStream out = new PrintStream(outBuff, false, "UTF-8"); PrintStream out = new PrintStream(outBuff, false, "UTF-8");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论