This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-resolver.git


The following commit(s) were added to refs/heads/master by this push:
     new b95696e  Lang style
b95696e is described below

commit b95696e28b30e04c04492ec19ac7d3ea1e9b051e
Author: Michael Osipov <[email protected]>
AuthorDate: Sun Dec 12 22:10:00 2021 +0100

    Lang style
---
 .../aether/named/redisson/RedissonSemaphoreNamedLockFactory.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/maven-resolver-named-locks-redisson/src/main/java/org/eclipse/aether/named/redisson/RedissonSemaphoreNamedLockFactory.java
 
b/maven-resolver-named-locks-redisson/src/main/java/org/eclipse/aether/named/redisson/RedissonSemaphoreNamedLockFactory.java
index e883218..80156b5 100644
--- 
a/maven-resolver-named-locks-redisson/src/main/java/org/eclipse/aether/named/redisson/RedissonSemaphoreNamedLockFactory.java
+++ 
b/maven-resolver-named-locks-redisson/src/main/java/org/eclipse/aether/named/redisson/RedissonSemaphoreNamedLockFactory.java
@@ -65,7 +65,7 @@ public class RedissonSemaphoreNamedLockFactory
         RSemaphore semaphore = semaphores.remove( name );
         if ( semaphore == null )
         {
-            throw new IllegalStateException( "Semaphore expected but does not 
exist: " + name );
+            throw new IllegalStateException( "Semaphore expected, but does not 
exist: " + name );
         }
         /* Threre is no reasonable way to destroy the semaphore in Redis 
because we cannot know
          * when the last process has stopped using it.

Reply via email to