Update MRI projects for Aluminium
[bgpcep.git] / bgp / cli / src / main / java / org / opendaylight / protocol / bgp / cli / utils / PeerGroupStateCliUtils.java
index e5bc5970590e7d01e8a8ab6827dc873a473d96cd..63ce5dd86cfbb8bd7dd809546cfef855c8025c66 100644 (file)
@@ -10,20 +10,20 @@ package org.opendaylight.protocol.bgp.cli.utils;
 import static org.opendaylight.protocol.bgp.cli.utils.NeighborStateCliUtils.addHeader;
 
 import java.io.PrintStream;
-import java.util.List;
+import java.util.Collection;
 import org.apache.karaf.shell.support.table.ShellTable;
 import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.neighbor.group.State;
 import org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.rev151009.bgp.peer.group.PeerGroup;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.openconfig.extensions.rev180329.PeerGroupStateAugmentation;
 
-//PeerGroupStateCliUtils sends Peer Group Operational State to PrintStream
+// PeerGroupStateCliUtils sends Peer Group Operational State to PrintStream
 final class PeerGroupStateCliUtils {
     private PeerGroupStateCliUtils() {
-        throw new UnsupportedOperationException();
+        // Hidden on purpose
     }
 
-    static void displayPeerOperationalState(@NonNull final List<PeerGroup> peerGroupList,
+    static void displayPeerOperationalState(@NonNull final Collection<PeerGroup> peerGroupList,
             @NonNull final PrintStream stream) {
         final ShellTable table = new ShellTable();
         table.column("Attribute").alignLeft();