private List<String> filterTargetsFromResponse(Set<String> varrayTaggedPortWWNs,Map<String,List<String>> initiatorTargetMap,String initiatorKey){
  log.debug("START - filterTargetsFromResponse");
  List<String> filteredTargetList=new ArrayList<String>();
  List<String> targetPortListFromResponse=initiatorTargetMap.get(initiatorKey);
  for (  String portWWN : targetPortListFromResponse) {
    if (varrayTaggedPortWWNs.contains(portWWN) || varrayTaggedPortWWNs.contains(portWWN.toUpperCase())) {
      filteredTargetList.add(portWWN.toUpperCase());
    }
  }
  log.debug("END - filterTargetsFromResponse");
  return filteredTargetList;
}

private List < String > filterTargetsFromResponse ( Set < String > varrayTaggedPortWWNs , Map < String , List < String > > initiatorTargetMap , String initiatorKey ) { log . debug ( "START - filterTargetsFromResponse" ) ; List < String > filteredTargetList = new ArrayList < String > ( ) ; List < String > targetPortListFromResponse = initiatorTargetMap . get ( initiatorKey ) ; for ( String portWWN : targetPortListFromResponse ) { if ( varrayTaggedPortWWNs . contains ( portWWN ) || varrayTaggedPortWWNs . contains ( portWWN . toUpperCase ( ) ) ) { filteredTargetList . add ( portWWN . toUpperCase ( ) ) ; } } log . debug ( "END - filterTargetsFromResponse" ) ; return filteredTargetList ; }
filters the target port list from the response based on the varray tagging .
