diff --git a/src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java b/src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java index 1a0293e..20f8673 100644 --- a/src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java +++ b/src/main/java/com/chikli/hudson/plugin/naginator/NaginatorPublisher.java @@ -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 @@ -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()) {