Fix compilation problem on some versions of the JVM
Change-Id: I3f2c7ad8fbcd228c7eeb0a2125fcbdbfcb572bd9
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -218,7 +218,8 @@ public class EventsCommand | ... | @@ -218,7 +218,8 @@ public class EventsCommand |
218 | 218 | ||
219 | } else if (event instanceof TopologyEvent) { | 219 | } else if (event instanceof TopologyEvent) { |
220 | TopologyEvent topoEvent = (TopologyEvent) event; | 220 | TopologyEvent topoEvent = (TopologyEvent) event; |
221 | - List<Event> reasons = MoreObjects.firstNonNull(topoEvent.reasons(), ImmutableList.of()); | 221 | + List<Event> reasons = MoreObjects.firstNonNull(topoEvent.reasons(), |
222 | + ImmutableList.<Event>of()); | ||
222 | Topology topo = topoEvent.subject(); | 223 | Topology topo = topoEvent.subject(); |
223 | String summary = String.format("(d=%d,l=%d,c=%d)", | 224 | String summary = String.format("(d=%d,l=%d,c=%d)", |
224 | topo.deviceCount(), | 225 | topo.deviceCount(), | ... | ... |
-
Please register or login to post a comment