Commit b492e67c0c393b57ebc31e30b22de8cd53f89e4b
1 parent
4d1ab09e
Exists in
master
Limpeza no código
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/internal/bootstrap/ConfigurationBootstrap.java
@@ -83,7 +83,7 @@ public class ConfigurationBootstrap extends AbstractStrategyBootstrap<Configurat | @@ -83,7 +83,7 @@ public class ConfigurationBootstrap extends AbstractStrategyBootstrap<Configurat | ||
83 | private static List<CtMethod> getMethods(CtClass type) throws NotFoundException { | 83 | private static List<CtMethod> getMethods(CtClass type) throws NotFoundException { |
84 | List<CtMethod> fields = new ArrayList<CtMethod>(); | 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 | fields.addAll(Arrays.asList(type.getDeclaredMethods())); | 87 | fields.addAll(Arrays.asList(type.getDeclaredMethods())); |
88 | fields.addAll(getMethods(type.getSuperclass())); | 88 | fields.addAll(getMethods(type.getSuperclass())); |
89 | } | 89 | } |