Remove more things

This commit is contained in:
Clément Fournier committed 2023-04-29 02:57:00 +02:00
1 parent 82b4d97cb5
commit 8567fd77e9
1 file changed
-58
@@ -128,10 +128,6 @@ public class PMDConfiguration extends AbstractConfiguration {
private boolean showSuppressedViolations = false;
private boolean failOnViolation = true;
@Deprecated
private boolean stressTest;
@Deprecated
private boolean benchmark;
private AnalysisCache analysisCache = new NoopAnalysisCache();
private boolean ignoreIncrementalAnalysis;
private final LanguageRegistry langRegistry;
@@ -738,60 +734,6 @@ public class PMDConfiguration extends AbstractConfiguration {
this.reportProperties = reportProperties;
}
/**
* Return the stress test indicator. If this value is <code>true</code> then
* PMD will randomize the order of file processing to attempt to shake out
* bugs.
*
* @return <code>true</code> if stress test is enbaled, <code>false</code>
* otherwise.
*
* @deprecated For removal
*/
@Deprecated
public boolean isStressTest() {
return stressTest;
}
/**
* Set the stress test indicator.
*
* @param stressTest
* The stree test indicator to set.
* @see #isStressTest()
* @deprecated For removal.
*/
@Deprecated
public void setStressTest(boolean stressTest) {
this.stressTest = stressTest;
}
/**
* Return the benchmark indicator. If this value is <code>true</code> then
* PMD will log benchmark information.
*
* @return <code>true</code> if benchmark logging is enbaled,
* <code>false</code> otherwise.
* @deprecated This behavior is down to CLI, not part of the core analysis.
*/
@Deprecated
public boolean isBenchmark() {
return benchmark;
}
/**
* Set the benchmark indicator.
*
* @param benchmark
* The benchmark indicator to set.
* @see #isBenchmark()
* @deprecated This behavior is down to CLI, not part of the core analysis.
*/
@Deprecated
public void setBenchmark(boolean benchmark) {
this.benchmark = benchmark;
}
/**
* Whether PMD should exit with status 4 (the default behavior, true) if
* violations are found or just with 0 (to not break the build, e.g.).