formatting
This commit is contained in:
@@ -7,26 +7,26 @@ import nodash.models.NoInfluence;
|
||||
import nodash.models.noactiontypes.NoTargetedAction;
|
||||
|
||||
public class NoActionTest extends NoTargetedAction {
|
||||
/**
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String newName;
|
||||
|
||||
public NoActionTest(PublicKey target, String newName) {
|
||||
super(target);
|
||||
this.newName = newName;
|
||||
}
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Override
|
||||
protected NoInfluence generateTargetInfluence() throws NoCannotGetInfluenceException {
|
||||
return new NoInfluenceTest(newName);
|
||||
}
|
||||
private String newName;
|
||||
|
||||
@Override
|
||||
public void process() {
|
||||
// Nothing;
|
||||
}
|
||||
public NoActionTest(PublicKey target, String newName) {
|
||||
super(target);
|
||||
this.newName = newName;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected NoInfluence generateTargetInfluence() throws NoCannotGetInfluenceException {
|
||||
return new NoInfluenceTest(newName);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void process() {
|
||||
// Nothing;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -4,20 +4,20 @@ import nodash.models.NoInfluence;
|
||||
import nodash.models.NoUser;
|
||||
|
||||
public class NoInfluenceTest extends NoInfluence {
|
||||
/**
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 5710677031891178814L;
|
||||
private String newName;
|
||||
|
||||
public NoInfluenceTest(String newName) {
|
||||
super();
|
||||
this.newName = newName;
|
||||
}
|
||||
private static final long serialVersionUID = 5710677031891178814L;
|
||||
private String newName;
|
||||
|
||||
@Override
|
||||
public void applyTo(NoUser user) {
|
||||
((NoUserTest) user).setChangableString(this.newName);
|
||||
}
|
||||
public NoInfluenceTest(String newName) {
|
||||
super();
|
||||
this.newName = newName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void applyTo(NoUser user) {
|
||||
((NoUserTest) user).setChangableString(this.newName);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -3,13 +3,13 @@ package nodash.test;
|
||||
import nodash.exceptions.NoDashFatalException;
|
||||
|
||||
public class NoTestNotReadyException extends NoDashFatalException {
|
||||
/**
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -8955061212302042899L;
|
||||
private static final long serialVersionUID = -8955061212302042899L;
|
||||
|
||||
public NoTestNotReadyException(String string) {
|
||||
super(string);
|
||||
}
|
||||
public NoTestNotReadyException(String string) {
|
||||
super(string);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -4,23 +4,23 @@ import nodash.models.NoUser;
|
||||
|
||||
public class NoUserTest extends NoUser {
|
||||
|
||||
/**
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 7791713515804652613L;
|
||||
private static final long serialVersionUID = 7791713515804652613L;
|
||||
|
||||
private String changableString;
|
||||
|
||||
public NoUserTest(String changableString) {
|
||||
super();
|
||||
setChangableString(changableString);
|
||||
}
|
||||
|
||||
public String getChangableString() {
|
||||
return changableString;
|
||||
}
|
||||
|
||||
public void setChangableString(String changableString) {
|
||||
this.changableString = changableString;
|
||||
}
|
||||
private String changableString;
|
||||
|
||||
public NoUserTest(String changableString) {
|
||||
super();
|
||||
setChangableString(changableString);
|
||||
}
|
||||
|
||||
public String getChangableString() {
|
||||
return changableString;
|
||||
}
|
||||
|
||||
public void setChangableString(String changableString) {
|
||||
this.changableString = changableString;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user