TeslaCN commented on code in PR #19876:
URL: https://github.com/apache/shardingsphere/pull/19876#discussion_r938408251


##########
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/lock/LockContext.java:
##########
@@ -51,17 +44,17 @@ default void initLockState(InstanceContext instanceContext) 
{
      * Try Lock.
      *
      * @param lockDefinition lock definition
-     * @param timeoutMilliseconds timeout milliseconds
+     * @param timeoutMillis timeout milliseconds
      * @return is locked or not
      */
-    boolean tryLock(LockDefinition lockDefinition, long timeoutMilliseconds);
+    boolean tryLock(LockDefinition lockDefinition, long timeoutMillis);
     
     /**
-     * Release lock.
+     * Un lock.

Review Comment:
   `unlock` is a word.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to