government mandated curly braces
This commit is contained in:
parent
d60e0ced67
commit
494a4a8d18
@ -225,9 +225,9 @@ public abstract class Movement implements Helper, MovementHelper {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public MovementState updateState(MovementState state) {
|
public MovementState updateState(MovementState state) {
|
||||||
if (!prepared(state))
|
if (!prepared(state)) {
|
||||||
return state.setStatus(MovementStatus.PREPPING);
|
return state.setStatus(MovementStatus.PREPPING);
|
||||||
else if (state.getStatus() == MovementStatus.PREPPING) {
|
} else if (state.getStatus() == MovementStatus.PREPPING) {
|
||||||
state.setStatus(MovementStatus.WAITING);
|
state.setStatus(MovementStatus.WAITING);
|
||||||
}
|
}
|
||||||
return state;
|
return state;
|
||||||
|
Loading…
Reference in New Issue
Block a user