[Minor] Fixed logger in SetActionTo* commands
This commit is contained in:
parent
dc9e1d09f1
commit
104add7035
|
@ -43,7 +43,7 @@ public class SetActionToClosedCommand extends ExecutionCommand {
|
|||
tx().lock(getResourceLocator(this.action));
|
||||
|
||||
if (this.action.getState() == State.CLOSED) {
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in CLOSED! Not changing.");
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in state CLOSED! Not changing.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SetActionToCreatedCommand extends ExecutionCommand {
|
|||
tx().lock(getResourceLocator(this.action));
|
||||
|
||||
if (this.action.getState() == State.CREATED) {
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in CREATED! Not changing.");
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in state CREATED! Not changing.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SetActionToErrorCommand extends ExecutionCommand {
|
|||
tx().lock(getResourceLocator(this.action));
|
||||
|
||||
if (this.action.getState() == State.ERROR) {
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in ERROR! Not changing.");
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in state ERROR! Not changing.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SetActionToExecutedCommand extends ExecutionCommand {
|
|||
tx().lock(getResourceLocator(this.action));
|
||||
|
||||
if (this.action.getState() == State.EXECUTED) {
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in EXECUTED! Not changing.");
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in state EXECUTED! Not changing.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SetActionToPlannedCommand extends ExecutionCommand {
|
|||
tx().lock(getResourceLocator(this.action));
|
||||
|
||||
if (this.action.getState() == State.PLANNED) {
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in PLANNED! Not changing.");
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in state PLANNED! Not changing.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SetActionToPlanningCommand extends ExecutionCommand {
|
|||
tx().lock(getResourceLocator(this.action));
|
||||
|
||||
if (this.action.getState() == State.PLANNING) {
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in PLANNING! Not changing.");
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in state PLANNING! Not changing.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SetActionToStoppedCommand extends ExecutionCommand {
|
|||
tx().lock(getResourceLocator(this.action));
|
||||
|
||||
if (this.action.getState() == State.STOPPED) {
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in STOPPED! Not changing.");
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in state STOPPED! Not changing.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class SetActionToWarningCommand extends ExecutionCommand {
|
|||
tx().lock(getResourceLocator(this.action));
|
||||
|
||||
if (this.action.getState() == State.WARNING) {
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in WARNING! Not changing.");
|
||||
logger.warn("Action " + this.action.getLocator() + " is already in state WARNING! Not changing.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue