瀏覽代碼

Remove redundant type check

The same condition is repeated twice (caught by FindBugs.)
tags/rel_3_29_0_ga
April Schleck 2 年之前
父節點
當前提交
fc299f8bc0
No account linked to committer's email address
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      src/main/javassist/util/proxy/SecurityActions.java

+ 0
- 1
src/main/javassist/util/proxy/SecurityActions.java 查看文件

@@ -213,7 +213,6 @@ class SecurityActions extends SecurityManager
if (e.getCause() instanceof NoSuchFieldException)
throw new ClassNotFoundException("No such instance.", e.getCause());
if (e.getCause() instanceof IllegalAccessException
|| e.getCause() instanceof IllegalAccessException
|| e.getCause() instanceof SecurityException)
throw new ClassNotFoundException("Security denied access.", e.getCause());
throw new RuntimeException(e.getCause());

Loading…
取消
儲存