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



##########
File path: 
core/logic/src/main/java/org/apache/syncope/core/logic/ReconciliationLogic.java
##########
@@ -237,7 +241,8 @@ public ReconStatus status(final String anyTypeKey, final 
String resourceKey, fin
         status.setOnSyncope(getOnSyncope(any, connObjectKeyItem, provision));
 
         List<ConnectorObject> connObjs = outboundMatcher.match(
-                connFactory.getConnector(provision.getResource()), any, 
provision, Optional.empty());
+                connFactory.getConnector(provision.getResource()), any, 
provision,
+                Optional.ofNullable(moreAttrsToGet.toArray(new String[] {})));

Review comment:
       You should use `Optional.of()` here instead of `Optional.ofNullable()`




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to