提交 1b78f4b5 authored 作者: Thomas Mueller's avatar Thomas Mueller

Test

上级 56582577
...@@ -158,15 +158,11 @@ public class ProxyCodeGenerator { ...@@ -158,15 +158,11 @@ public class ProxyCodeGenerator {
} }
writer.print(")"); writer.print(")");
Class<?>[] ec = m.getExceptionTypes(); Class<?>[] ec = m.getExceptionTypes();
writer.print(" throws RuntimeException");
if (ec.length > 0) { if (ec.length > 0) {
writer.print(" throws ");
int ic = 0;
for (Class<?> e : ec) { for (Class<?> e : ec) {
if (ic > 0) {
writer.print(", "); writer.print(", ");
}
writer.print(getClassName(e)); writer.print(getClassName(e));
ic++;
} }
} }
writer.println(" {"); writer.println(" {");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论