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


##########
client/idrepo/console/src/main/java/org/apache/syncope/client/console/commons/StatusProvider.java:
##########
@@ -32,10 +30,17 @@
 
 public interface StatusProvider extends Serializable {
 
-    Optional<Pair<ConnObject, ConnObject>> get(
-            String anyTypeKey, String connObjectKeyValue, String resource);
+    record Info(ConnObject onSyncope, ConnObject onResource) implements 
Serializable {
 
-    List<Triple<ConnObject, ConnObjectWrapper, String>> get(AnyTO any, 
Collection<String> resources);
+    }
+
+    record InfoWithFailure(ConnObject onSyncope, ConnObjectWrapper onResource, 
String failure) implements Serializable {
+
+    }
+
+    Optional<Info> get(String anyTypeKey, String connObjectKeyValue, String 
resource);
+
+    List<InfoWithFailure> get(AnyTO any, Collection<String> resources);

Review Comment:
   ## Useless parameter
   
   The parameter 'resources' is never used.
   
   [Show more 
details](https://github.com/apache/syncope/security/code-scanning/2348)



-- 
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: [email protected]

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

Reply via email to