added .process() to NoAction

This commit is contained in:
Dave
2014-12-21 23:27:09 +02:00
parent 3b356ef774
commit b270be5795
5 changed files with 8 additions and 6 deletions

View File

@@ -23,6 +23,7 @@ import java.io.Serializable;
public abstract class NoAction implements Serializable {
private static final long serialVersionUID = -194752850197321803L;
public abstract void process();
public abstract void execute();
public abstract void purge();
}

View File

@@ -40,9 +40,9 @@ public abstract class NoErrorableAction extends NoTargetedAction {
}
public void execute() {
NoInfluence influence;
this.process();
try {
influence = this.generateTargetInfluence();
NoInfluence influence = this.generateTargetInfluence();
if (influence != null) {
NoByteSet byteSet = influence.getByteSet(this.target);
NoCore.addByteSet(byteSet, this.target);

View File

@@ -41,6 +41,7 @@ public abstract class NoHandshakeAction extends NoSourcedAction {
}
public void execute() {
this.process();
try {
NoInfluence influence = this.generateTargetInfluence();
if (influence != null) {

View File

@@ -41,9 +41,9 @@ public abstract class NoSourcedAction extends NoTargetedAction {
}
public void execute() {
NoInfluence influence;
this.process();
try {
influence = this.generateTargetInfluence();
NoInfluence influence = this.generateTargetInfluence();
if (influence != null) {
NoByteSet byteSet = influence.getByteSet(this.target);
NoCore.addByteSet(byteSet, this.target);

View File

@@ -39,9 +39,9 @@ public abstract class NoTargetedAction extends NoAction {
}
public void execute() {
NoInfluence influence;
this.process();
try {
influence = this.generateTargetInfluence();
NoInfluence influence = this.generateTargetInfluence();
if (influence != null) {
NoByteSet byteSet = influence.getByteSet(this.target);
NoCore.addByteSet(byteSet, this.target);