please simplify
```
List<PlotNode> metricNodeList = new ArrayList<PlotNode>();
if (map.containsKey(tdd)) {
   metricNodeList.addAll(map.get(tdd));
}
if (monitoringMap.containsKey(tdd)) {
   metricNodeList.addAll(monitoringMap.get(tdd));
}
```