You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "github-advanced-security[bot] (via GitHub)" <gi...@apache.org> on 2024/12/03 15:20:23 UTC
Re: [PR] [SYNCOPE-1829] Introducing support for Live Sync [syncope]
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-unsubscribe@syncope.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org