for (ClusterInstanceInfo clinfo : info) {
final int newWeight = isw ? clinfo.weight() : default_weight ;
final List<SocketInfo> newEndpoints =
filterSocketInfos( clinfo.endpoints() ) ;
final ClusterInstanceInfo newClinfo = new ClusterInstanceInfo(
clinfo.name(), newWeight, newEndpoints ) ;
newList.add( newClinfo ) ;
totalWeight += newWeight ;
}