github-advanced-security[bot] commented on code in PR #915:
URL: https://github.com/apache/syncope/pull/915#discussion_r1867925756


##########
client/idm/console/src/main/java/org/apache/syncope/client/console/rest/ConnectorRestClient.java:
##########
@@ -50,6 +49,10 @@
 
     private static final long serialVersionUID = -6870366819966266617L;
 
+    protected static List<ConnConfProperty> filterBlank(final 
List<ConnConfProperty> properties) {
+        return properties.stream().filter(obj -> obj != null && 
!obj.toString().isBlank()).toList();

Review Comment:
   ## Use of default toString()
   
   Default toString(): ConnConfProperty inherits toString() from Object, and so 
is not suitable for printing.
   
   [Show more 
details](https://github.com/apache/syncope/security/code-scanning/1747)



-- 
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