diff --git a/pitest-maven/src/main/java/org/pitest/maven/AbstractPitMojo.java b/pitest-maven/src/main/java/org/pitest/maven/AbstractPitMojo.java index 0203fa0c8..70a15d3ee 100644 --- a/pitest-maven/src/main/java/org/pitest/maven/AbstractPitMojo.java +++ b/pitest-maven/src/main/java/org/pitest/maven/AbstractPitMojo.java @@ -1,16 +1,5 @@ package org.pitest.maven; -import java.io.File; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import java.util.function.Predicate; -import java.util.logging.Logger; -import java.util.stream.Collectors; import org.apache.maven.artifact.Artifact; import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; @@ -27,6 +16,18 @@ import org.slf4j.bridge.SLF4JBridgeHandler; import uk.org.lidalia.sysoutslf4j.context.SysOutOverSLF4J; +import java.io.File; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import java.util.function.Predicate; +import java.util.logging.Logger; +import java.util.stream.Collectors; + public class AbstractPitMojo extends AbstractMojo { private final Predicate notEmptyProject; @@ -125,12 +126,6 @@ public class AbstractPitMojo extends AbstractMojo { @Parameter(defaultValue = "1", property = "threads") private int threads; - /** - * Mutate static initializers - */ - @Parameter(defaultValue = "false", property = "mutateStaticInitializers") - private boolean mutateStaticInitializers; - /** * Detect inlined code */ @@ -543,10 +538,6 @@ public int getThreads() { return this.threads; } - public boolean isMutateStaticInitializers() { - return this.mutateStaticInitializers; - } - public List getMutators() { return withoutNulls(this.mutators); }