diff --git a/Bench4Q-Share/src/main/java/org/bench4q/share/models/agent/BehaviorInfoModel.java b/Bench4Q-Share/src/main/java/org/bench4q/share/models/agent/BehaviorInfoModel.java index 5960b4e7..adf7632a 100644 --- a/Bench4Q-Share/src/main/java/org/bench4q/share/models/agent/BehaviorInfoModel.java +++ b/Bench4Q-Share/src/main/java/org/bench4q/share/models/agent/BehaviorInfoModel.java @@ -6,13 +6,10 @@ import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; -import org.bench4q.share.models.master.plugin.ParamInfoModel; - @XmlRootElement(name = "behaviorInfo") public class BehaviorInfoModel { private String name; - @SuppressWarnings("rawtypes") - private List parameters; + private List parameters; @XmlElement public String getName() { @@ -23,16 +20,13 @@ public class BehaviorInfoModel { this.name = name; } - - @SuppressWarnings("rawtypes") @XmlElementWrapper(name = "parameters") @XmlElement(name = "parameter") - public List getParameters() { + public List getParameters() { return parameters; } - public void setParameters(@SuppressWarnings("rawtypes") List parameters) { + public void setParameters(List parameters) { this.parameters = parameters; } - }