Skip to content

Commit

Permalink
Lang style
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Dec 12, 2021
1 parent 50df10d commit b95696e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected void destroyLock( final String name )
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.
Expand Down

0 comments on commit b95696e

Please sign in to comment.