ilgrosso commented on a change in pull request #329: URL: https://github.com/apache/syncope/pull/329#discussion_r831257206
########## File path: client/idrepo/console/src/main/java/org/apache/syncope/client/console/init/ClassPathScanImplementationLookup.java ########## @@ -263,9 +263,10 @@ public void load() { @SuppressWarnings("unchecked") public <T> List<Class<? extends T>> getClasses(final Class<T> reference) { - return classes.getOrDefault(reference.getName(), List.of()).stream(). - map(clazz -> (Class<? extends T>) clazz). - collect(Collectors.toList()); + return classes.entrySet().stream() Review comment: What is the rationale behind this change? Can you provide an example where the original code fails and this works, instead? -- 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