minor changes

This commit is contained in:
Stephan Richter
2020-11-06 20:52:55 +01:00
parent 9fed18a517
commit d3ca0a08ef
11 changed files with 34 additions and 17 deletions

View File

@@ -44,6 +44,10 @@ public class DelayedAction extends Action {
new Input(DELAY,delay).numeric().addTo(new Label(t("Delay")+NBSP)).content(NBSP+"ms").addTo(form);
return new Button(t("Apply"),form).addTo(form).addTo(fieldset);
}
public boolean equals(DelayedAction other) {
return (delay+":"+actions).equals(other.delay+":"+other.actions);
}
@Override
public boolean fire(Context context) throws IOException {
@@ -85,7 +89,7 @@ public class DelayedAction extends Action {
@Override
public String toString() {
return t("Wait {} ms, then: {}",delay,actions);
return t("Wait {} ms, then: ",delay);
}
@Override