From c20b49af051621792b587f9741f2a92e0f752a20 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Mon, 12 Aug 2024 13:33:09 +0200 Subject: [PATCH] fix checkstyle --- pom.xml | 1 - .../java/org/apache/maven/buildcache/CacheControllerImpl.java | 1 + .../org/apache/maven/buildcache/checksum/MavenProjectInput.java | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 87809085..a1d01349 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,6 @@ under the License. - org.apache.maven.extensions maven-build-cache-extension 1.2.1-SNAPSHOT jar diff --git a/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java b/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java index 11cec501..45d9996c 100644 --- a/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java +++ b/src/main/java/org/apache/maven/buildcache/CacheControllerImpl.java @@ -141,6 +141,7 @@ public class CacheControllerImpl implements CacheController { private int attachedResourceCounter = 0; + @SuppressWarnings("ParameterNumber") @Inject public CacheControllerImpl( MavenProjectHelper projectHelper, diff --git a/src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java b/src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java index e196eddd..f7e06aea 100644 --- a/src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java +++ b/src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java @@ -693,6 +693,7 @@ public Artifact createPluginArtifact(Plugin plugin) { false); } + @SuppressWarnings("checkstyle:parameternumber") private Artifact createArtifact( String groupId, String artifactId,