diff --git a/pitest-entry/src/main/java/org/pitest/mutationtest/build/intercept/staticinitializers/StaticInitializerInterceptor.java b/pitest-entry/src/main/java/org/pitest/mutationtest/build/intercept/staticinitializers/StaticInitializerInterceptor.java index e7dbea9a5..7bc251d82 100644 --- a/pitest-entry/src/main/java/org/pitest/mutationtest/build/intercept/staticinitializers/StaticInitializerInterceptor.java +++ b/pitest-entry/src/main/java/org/pitest/mutationtest/build/intercept/staticinitializers/StaticInitializerInterceptor.java @@ -89,10 +89,6 @@ private void analyseClass(ClassTree tree) { } } - private boolean enumConstructor(MethodTree m, boolean isEnum) { - return isEnum && m.rawNode().name.equals(""); - } - private List allCallsFor(ClassTree tree, MethodTree m) { return Stream.concat(callsFor(tree,m), invokeDynamicCallsFor(tree,m)) .collect(Collectors.toList());