Skip to content

Commit

Permalink
Suppress false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
sghill committed Jun 25, 2024
1 parent fe42ff4 commit 54c30ed
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public boolean isMatrixProject(Object it) {
return (it instanceof MatrixProject);
}

@SuppressWarnings("lgtm[jenkins/no-permission-check]")
public FormValidation doCheckRegexpForMatrixStrategy(
@QueryParameter RegexpForMatrixStrategy value,
@QueryParameter boolean rerunMatrixPart
Expand All @@ -304,6 +305,7 @@ public FormValidation doCheckRegexpForMatrixStrategy(
return FormValidation.ok();
}

@SuppressWarnings({"lgtm[jenkins/csrf]", "lgtm[jenkins/no-permission-check]"})
public ListBoxModel doFillRegexpForMatrixStrategyItems() {
ListBoxModel ret = new ListBoxModel();
for (RegexpForMatrixStrategy strategy: RegexpForMatrixStrategy.values()) {
Expand Down

0 comments on commit 54c30ed

Please sign in to comment.