This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch MRESOLVER-311 in repository https://gitbox.apache.org/repos/asf/maven-resolver.git
commit e549b9b281de48c83c01d7d16339f2362fb778f2 Author: Sylwester Lachiewicz <slachiew...@apache.org> AuthorDate: Sun Feb 19 11:39:37 2023 +0100 [MRESOLVER-311] Fix checkstyle issues --- .../src/main/java/org/eclipse/aether/version/VersionScheme.java | 2 +- .../src/main/java/org/eclipse/aether/impl/guice/AetherModule.java | 1 + .../java/org/eclipse/aether/named/support/NamedLockFactorySupport.java | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/maven-resolver-api/src/main/java/org/eclipse/aether/version/VersionScheme.java b/maven-resolver-api/src/main/java/org/eclipse/aether/version/VersionScheme.java index 9c6b0029..0587d459 100644 --- a/maven-resolver-api/src/main/java/org/eclipse/aether/version/VersionScheme.java +++ b/maven-resolver-api/src/main/java/org/eclipse/aether/version/VersionScheme.java @@ -49,5 +49,5 @@ public interface VersionScheme { * @throws InvalidVersionSpecificationException If the constraint specification violates the syntax rules of this * scheme. */ - VersionConstraint parseVersionConstraint(final String constraint) throws InvalidVersionSpecificationException; + VersionConstraint parseVersionConstraint(String constraint) throws InvalidVersionSpecificationException; } diff --git a/maven-resolver-impl/src/main/java/org/eclipse/aether/impl/guice/AetherModule.java b/maven-resolver-impl/src/main/java/org/eclipse/aether/impl/guice/AetherModule.java index a15eba83..a77ba87c 100644 --- a/maven-resolver-impl/src/main/java/org/eclipse/aether/impl/guice/AetherModule.java +++ b/maven-resolver-impl/src/main/java/org/eclipse/aether/impl/guice/AetherModule.java @@ -140,6 +140,7 @@ public class AetherModule extends AbstractModule { /** * Configures Guice with bindings for Aether components provided by this library. */ + // CHECKSTYLE_OFF: MethodLength @Override protected void configure() { bind(RepositorySystem.class) // diff --git a/maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/NamedLockFactorySupport.java b/maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/NamedLockFactorySupport.java index 3dbbd79d..53147284 100644 --- a/maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/NamedLockFactorySupport.java +++ b/maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/NamedLockFactorySupport.java @@ -70,7 +70,7 @@ public abstract class NamedLockFactorySupport implements NamedLockFactory { * Implementations shall create and return {@link NamedLockSupport} for given {@code name}, this method must never * return {@code null}. */ - protected abstract NamedLockSupport createLock(final String name); + protected abstract NamedLockSupport createLock(String name); /** * Implementation may override this (empty) method to perform some sort of implementation specific cleanup for