Remove useless anonymous subclass creation

This commit is contained in:
Brendan Le Ny 2024-06-12 15:35:51 +02:00
parent 7d42a4e1d2
commit 5c2b20d4e0

View file

@ -228,8 +228,7 @@ public class UserAdapter extends Adapter<UserModel, User> {
@Override @Override
public Stream<UserModel> getResourceStream() { public Stream<UserModel> getResourceStream() {
Map<String, String> params = new HashMap<>() { Map<String, String> params = new HashMap<>();
};
return this.session.users().searchForUserStream(realm, params); return this.session.users().searchForUserStream(realm, params);
} }