michael-o commented on a change in pull request #77:
URL: https://github.com/apache/maven-resolver/pull/77#discussion_r611859577


##########
File path: 
maven-resolver-named-locks/src/main/java/org/eclipse/aether/named/support/AdaptedSemaphoreNamedLock.java
##########
@@ -41,6 +41,23 @@
         void release( int perms );
     }
 
+    /**
+     * Count of permissions involved with "nop" locking. When required lock 
step is preceded with a step that already
+     * fulfils currently requested locking, no locking is needed. In other 
words, caller already possesses the access
+     * to lock protected resource. The "nop" locking is use to track proper 
"boxing" of lock/unlock calls.
+     */
+    private static final int NONE = 0;

Review comment:
       Why does this name differ from the Enum?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to