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



##########
File path: 
core/rest-cxf/src/main/java/org/apache/syncope/core/rest/cxf/service/ReconciliationServiceImpl.java
##########
@@ -98,7 +98,8 @@ public ReconStatus status(final ReconQuery query) {
         validate(query);
 
         if (query.getAnyKey() != null) {
-            return logic.status(query.getAnyTypeKey(), query.getResourceKey(), 
query.getAnyKey());
+            return logic.status(query.getAnyTypeKey(), query.getResourceKey(), 
query.getAnyKey(),
+                    query.getMoreAttrsToGet());

Review comment:
       You can for instance replace
   
   ```query.getMoreAttrsToGet()```
   
   with
   
   ```java
   Optional.ofNullable(query.getMoreAttrsToGet()).orElse(new HashSet<>())
   ```




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