ilgrosso commented on a change in pull request #286:
URL: https://github.com/apache/syncope/pull/286#discussion_r688917826



##########
File path: 
client/console/src/main/java/org/apache/syncope/client/console/commons/PropertyList.java
##########
@@ -174,13 +174,11 @@ public static String getEnumValuesAsString(final 
List<String> enumerationValues)
         final StringBuilder builder = new StringBuilder();

Review comment:
       Why not replacing the whole method with
   
   ```
   return enumerationValues.stream().
                   map(v -> StringUtils.isBlank(v) ? StringUtils.EMPTY : 
v.trim()).
                   
collect(Collectors.joining(SyncopeConstants.ENUM_VALUES_SEPARATOR));
   ```
   
   ?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@syncope.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to