From 41e2025cd99f284bf7e0d57754201bc89eac507a Mon Sep 17 00:00:00 2001 From: runzhouwu Date: Sun, 21 Jul 2019 12:51:33 +0800 Subject: [PATCH] YARN-9688. Variable description error of method in stateMachine class --- .../org/apache/hadoop/yarn/state/StateMachineFactory.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/state/StateMachineFactory.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/state/StateMachineFactory.java index 4bb005c0536..a19deeeea38 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/state/StateMachineFactory.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/state/StateMachineFactory.java @@ -282,9 +282,11 @@ final public class StateMachineFactory /** * Effect a transition due to the effecting stimulus. - * @param state current state - * @param eventType trigger to initiate the transition - * @param cause causal eventType context + * @param operand the object upon which the returned + * {@link StateMachine} will operate. + * @param oldState current state + * @param eventType stimulus for the transition + * @param event stimulus for the transition * @return transitioned state */ private STATE doTransition