public static ClusterMember [ ] removeMember ( final ClusterMember [ ] oldMembers , final int memberId ) { return ArrayUtil . remove ( oldMembers , findMemberIndex ( oldMembers , memberId ) ) ; }
Remove a member from an array if found otherwise return the array unmodified .