equal
deleted
inserted
replaced
126 return result; |
126 return result; |
127 } |
127 } |
128 |
128 |
129 /** Returns List<MonitorInfo> */ |
129 /** Returns List<MonitorInfo> */ |
130 public List<MonitorInfo> getMonitors() { |
130 public List<MonitorInfo> getMonitors() { |
|
131 if (getScope() == null) { |
|
132 return new ArrayList<>(); |
|
133 } |
131 List monitors = getScope().getMonitors(); |
134 List monitors = getScope().getMonitors(); |
132 if (monitors == null) { |
135 if (monitors == null) { |
133 return new ArrayList<>(); |
136 return new ArrayList<>(); |
134 } |
137 } |
135 List<MonitorInfo> result = new ArrayList<>(monitors.size()); |
138 List<MonitorInfo> result = new ArrayList<>(monitors.size()); |