remove a warnning

remove a warnning
This commit is contained in:
coderfengyun 2014-03-26 09:26:56 +08:00
parent 4e88774084
commit 5b3dd8049a
1 changed files with 0 additions and 43 deletions

View File

@ -78,7 +78,6 @@ public class RunningScriptSampler {
runningAgent.getAgent(),
runningAgent.getAgentRunId());
addScriptResultModelStatistics(testBriefStatusModel);
}
return getScriptResultModel();
@ -125,48 +124,6 @@ public class RunningScriptSampler {
return scriptResultModel;
}
private ScriptBriefResultModel getScriptBrief() {
for (RunningAgentInterface runningAgent : getRunningAgents()) {
if (runningAgent.isBreakDown()) {
continue;
}
AgentBriefStatusModel briefStatusModel = this.getAgentMessenger()
.brief(runningAgent.getAgent(),
runningAgent.getAgentRunId());
if (briefStatusModel == null) {
continue;
}
getScriptBriefStatistics().add(briefStatusModel);
}
return (ScriptBriefResultModel) getScriptBriefStatistics()
.getStatistics();
}
private ScriptBehaviorsBriefModel getBehaviorsBrief() {
for (RunningAgentInterface runningAgent : getRunningAgents()) {
getBehaviorsBriefStatistics().add(
this.getAgentMessenger().behaviorsBrief(
runningAgent.getAgent(),
runningAgent.getAgentRunId()));
}
ScriptBehaviorsBriefModel result = (ScriptBehaviorsBriefModel) getBehaviorsBriefStatistics()
.getStatistics();
return result;
}
private ScriptPagesBriefModel getPagesBrief() {
for (RunningAgentInterface runningAgent : getRunningAgents()) {
this.getPagesBriefStatistics().add(
this.getAgentMessenger().pagesBrief(
runningAgent.getAgent(),
runningAgent.getAgentRunId()));
}
ScriptPagesBriefModel result = (ScriptPagesBriefModel) this
.getPagesBriefStatistics().getStatistics();
return result;
}
private DataStatistics getScriptBriefStatistics() {
return getSpecificDataStatistics(ScriptBriefStatistics.class);
}