Change DummyAction to always execute.

there shpould not be any history for this, so execute it always.
This commit is contained in:
asofold 2012-11-09 11:08:03 +01:00
parent c824f54c3d
commit 4cb953e2bb

View File

@ -21,16 +21,16 @@ public class DummyAction extends Action {
/** The original string used for this action definition. */ /** The original string used for this action definition. */
protected final String definition; protected final String definition;
/** /**
* Instantiates a new dummy. * Instantiates a new dummy.
* *
* @param definition * @param definition
* the definition * the definition
*/ */
public DummyAction(final String definition) { public DummyAction(final String definition) {
super("dummyAction", 10000, 10000); super("dummyAction", 0, 0);
this.definition = definition; this.definition = definition;
} }
/* (non-Javadoc) /* (non-Javadoc)
* @see fr.neatmonster.nocheatplus.actions.Action#execute(fr.neatmonster.nocheatplus.checks.ViolationData) * @see fr.neatmonster.nocheatplus.actions.Action#execute(fr.neatmonster.nocheatplus.checks.ViolationData)
@ -47,4 +47,5 @@ public class DummyAction extends Action {
public String toString() { public String toString() {
return definition; return definition;
} }
} }