Selaa lähdekoodia

Remove redundant type check

The same condition is repeated twice (caught by FindBugs.)
tags/rel_3_29_0_ga
April Schleck 2 vuotta sitten
vanhempi
commit
fc299f8bc0
No account linked to committer's email address
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0
    1
      src/main/javassist/util/proxy/SecurityActions.java

+ 0
- 1
src/main/javassist/util/proxy/SecurityActions.java Näytä tiedosto

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