Skip to content

Commit

Permalink
Use the correct property name skipBlames.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Feb 27, 2024
1 parent 1d1cefd commit 42e971f
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,13 @@ public String getScm() {
*
* @return {@code true} if SCM blaming should be disabled
*/
@SuppressWarnings("PMD.BooleanGetMethodName")
public boolean getBlameDisabled() {
public boolean isSkipBlames() {
return isBlameDisabled;
}

@DataBoundSetter
public void setBlameDisabled(final boolean blameDisabled) {
isBlameDisabled = blameDisabled;
public void setSkipBlames(final boolean skipBlames) {
isBlameDisabled = skipBlames;
}

/**
Expand Down Expand Up @@ -233,7 +232,7 @@ static class Execution extends AnalysisExecution<AnnotatedReport> {

tool = step.getTool();
sourceCodeEncoding = step.getSourceCodeEncoding();
isBlameDisabled = step.getBlameDisabled();
isBlameDisabled = step.isSkipBlames();
filters = step.getFilters();
sourceDirectories = step.getAllSourceDirectories();
sourceCodeRetention = step.getSourceCodeRetention();
Expand Down

0 comments on commit 42e971f

Please sign in to comment.