You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2022/11/04 04:55:36 UTC

[GitHub] [ratis] codings-dan commented on a diff in pull request #773: RATIS-1735. Fix an spelling mistake in annotation

codings-dan commented on code in PR #773:
URL: https://github.com/apache/ratis/pull/773#discussion_r1013611395


##########
ratis-common/src/main/java/org/apache/ratis/util/LifeCycle.java:
##########
@@ -223,7 +223,7 @@ public State transitionAndGet(UnaryOperator<State> operator) {
    * If the current state is equal to the specified from state,
    * then transition to the give to state; otherwise, make no change.
    *
-   * @return true iff the current state is equal to the specified from state.
+   * @return true if the current state is equal to the specified from state.

Review Comment:
   > This is not a typo iff means "if and only if";
   
   Thanks for the info, I also not hear of this usage



-- 
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: issues-unsubscribe@ratis.apache.org

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