Skip to content

Commit

Permalink
Fix pmd
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Jun 25, 2024
1 parent 04e2211 commit 9420805
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public class GiteaChecksPublisherITest extends IntegrationTestBase {
* @return A list of methods used to create GiteaChecksContexts, with which each test should be run.
*/
@Parameterized.Parameters(name = "{0}")
@SuppressWarnings("PMD.UnnecessaryVarargsArrayCreation") // TODO: fix me?

Check warning on line 65 in src/test/java/io/jenkins/plugins/checks/gitea/GiteaChecksPublisherITest.java

View check run for this annotation

ci.jenkins.io / Open Tasks Scanner

TODO

NORMAL: fix me?
public static Collection<Object[]> contextBuilders() {
return Arrays.asList(new Object[][]{
{"Freestyle (run)", (Function<GiteaChecksPublisherITest, GiteaChecksContext>) GiteaChecksPublisherITest::createGiteaChecksContextWithGiteaSCMFreestyle, false},
Expand Down

0 comments on commit 9420805

Please sign in to comment.