Commit b492e67c0c393b57ebc31e30b22de8cd53f89e4b

Authored by Cleverson Sacramento
1 parent 4d1ab09e
Exists in master

Limpeza no código

impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/bootstrap/ConfigurationBootstrap.java
... ... @@ -83,7 +83,7 @@ public class ConfigurationBootstrap extends AbstractStrategyBootstrap<Configurat
83 83 private static List<CtMethod> getMethods(CtClass type) throws NotFoundException {
84 84 List<CtMethod> fields = new ArrayList<CtMethod>();
85 85  
86   - if (type != null && !type.getName().equals(Object.class.getName())) {
  86 + if (!type.getName().equals(Object.class.getName())) {
87 87 fields.addAll(Arrays.asList(type.getDeclaredMethods()));
88 88 fields.addAll(getMethods(type.getSuperclass()));
89 89 }
... ...