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