Skip to content

Commit

Permalink
Merge pull request #890 from hcoles/remove_static_initialiser_options
Browse files Browse the repository at this point in the history
remove dead static initialiser option
  • Loading branch information
hcoles authored Apr 28, 2021
2 parents 7b06d88 + 80f91ab commit 5f98b6a
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions pitest-maven/src/main/java/org/pitest/maven/AbstractPitMojo.java
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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<MavenProject> notEmptyProject;
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -543,10 +538,6 @@ public int getThreads() {
return this.threads;
}

public boolean isMutateStaticInitializers() {
return this.mutateStaticInitializers;
}

public List<String> getMutators() {
return withoutNulls(this.mutators);
}
Expand Down

0 comments on commit 5f98b6a

Please sign in to comment.