mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(代码报错): 修复因缺少范型导致的代码报错
修复因缺少范型导致的代码报错
This commit is contained in:
parent
a89d2f9ea5
commit
c68cac36ae
@ -678,7 +678,7 @@ public class ElementUtil {
|
||||
if (groupMap.containsKey(ASSERTIONS)) {
|
||||
groupMap.get(ASSERTIONS).add(item);
|
||||
} else {
|
||||
groupMap.put(ASSERTIONS, new LinkedList<>() {{
|
||||
groupMap.put(ASSERTIONS, new LinkedList<MsTestElement>() {{
|
||||
this.add(item);
|
||||
}});
|
||||
}
|
||||
@ -686,7 +686,7 @@ public class ElementUtil {
|
||||
if (groupMap.containsKey(PRE)) {
|
||||
groupMap.get(PRE).add(item);
|
||||
} else {
|
||||
groupMap.put(PRE, new LinkedList<>() {{
|
||||
groupMap.put(PRE, new LinkedList<MsTestElement>() {{
|
||||
this.add(item);
|
||||
}});
|
||||
}
|
||||
@ -694,7 +694,7 @@ public class ElementUtil {
|
||||
if (groupMap.containsKey(POST)) {
|
||||
groupMap.get(POST).add(item);
|
||||
} else {
|
||||
groupMap.put(POST, new LinkedList<>() {{
|
||||
groupMap.put(POST, new LinkedList<MsTestElement>() {{
|
||||
this.add(item);
|
||||
}});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user