private List filterAttributes ( final List < Object > valuesToFilter , final String attributeName ) { return valuesToFilter . stream ( ) . filter ( this :: patternMatchesAttributeValue ) . peek ( attributeValue -> logReleasedAttributeEntry ( attributeName , attributeValue ) ) . collect ( Collectors . toList ( ) ) ; }
Filter array attributes .