private void nameBasedStuff(String cmd,String name){
  Collection<String> list=new ArrayList<>();
  list.add(name);
  streamStuff(cmd,list);
}

private void nameBasedStuff ( String cmd , String name ) { Collection < String > list = new ArrayList < > ( ) ; list . add ( name ) ; streamStuff ( cmd , list ) ; }
handles context menu events with a single name ( stream / channel ) . just packs it into a list for use in another method .
