private User deleteUserPrivileges(final User user, final Set<String> privilegesToDelete) {
if (user == null) {
return null;
}
user.getPrivileges()
.stream()
.removeIf(m -> privilegesToDelete.contains(m.getAsString()));
return user;
}
Remove this unused method parameter "privilegesToDelete".
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/a4dc4455-604a-4c3d-ab49-1bbc8052d0eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.