litte refactor
This commit is contained in:
parent
7f83159262
commit
7354d502b6
|
@ -119,7 +119,6 @@ public class Bench4qTestScriptAdapter implements IScriptAdapter {
|
|||
batchBehavior.setParentId(-1);
|
||||
batchBehavior.setChildId(-1);
|
||||
List<BehaviorBaseModel> behaviors = new ArrayList<BehaviorBaseModel>();
|
||||
// behaviors.add(model);
|
||||
batchBehavior.setBehaviors(behaviors);
|
||||
return batchBehavior;
|
||||
}
|
||||
|
@ -194,7 +193,7 @@ public class Bench4qTestScriptAdapter implements IScriptAdapter {
|
|||
}
|
||||
|
||||
public void setText(String text) {
|
||||
if (text.isEmpty()) {
|
||||
if (text == null || text.isEmpty()) {
|
||||
this.setRunScenarioModel(new RunScenarioModelNew());
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue