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 03:35:03 UTC

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

szetszwo commented on code in PR #773:
URL: https://github.com/apache/ratis/pull/773#discussion_r1013573620


##########
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:
   Thanks for checking the javadoc!
   
   This is not a typo iff means "if and only if"; see https://www.merriam-webster.com/dictionary/iff
   
   



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