question: private void clearInitiators ( List < Initiator > initiators , String protocol ) { Iterator < Initiator > iterator = initiators . iterator ( ) ; while ( iterator . hasNext ( ) ) { Initiator initiator = iterator . next ( ) ; if ( StringUtils . equals ( initiator . getProtocol ( ) , protocol ) ) { iterator . remove ( ) ; } } }
target:  Removes initiators from list that have the given protocol