From ffd3fa6b0c5caf288209e7fb16ce72d04651cb8f Mon Sep 17 00:00:00 2001 From: Henry Coles Date: Mon, 6 Nov 2023 16:14:15 +0000 Subject: [PATCH] remove dead method --- .../staticinitializers/StaticInitializerInterceptor.java | 4 ---- 1 file changed, 4 deletions(-) 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());