Skip to content

Commit

Permalink
remove unused mojo parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Coles committed Sep 27, 2022
1 parent 91bf2e4 commit 51337f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions pitest-maven/src/main/java/org/pitest/maven/AbstractPitMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,6 @@ public class AbstractPitMojo extends AbstractMojo {
@Parameter(defaultValue = "false", property = "withHistory")
private boolean withHistory;

/**
* Maximum distance to look from test to class. Relevant when mutating static
* initializers
*
*/
@Parameter(defaultValue = "-1", property = "maxDependencyDistance")
private int maxDependencyDistance;

/**
* Number of threads to use
*/
Expand Down Expand Up @@ -565,10 +557,6 @@ public File getReportsDirectory() {
return this.reportsDirectory;
}

public int getMaxDependencyDistance() {
return this.maxDependencyDistance;
}

public int getThreads() {
return this.threads;
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>3.6.28</version>
<version>4.5.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 51337f3

Please sign in to comment.