Update libsignal-service-java

This commit is contained in:
AsamK 2022-03-17 23:24:30 +01:00
parent fd25ef539f
commit 9eb97746c1
32 changed files with 242 additions and 288 deletions

View file

@ -7,6 +7,7 @@ import org.freedesktop.dbus.types.Variant;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.stream.Collectors;
public abstract class DbusProperties implements Properties {
@ -25,7 +26,7 @@ public abstract class DbusProperties implements Properties {
return handler.get();
}
private java.util.Optional<DbusInterfacePropertiesHandler> getHandlerOptional(final String interfaceName) {
private Optional<DbusInterfacePropertiesHandler> getHandlerOptional(final String interfaceName) {
return handlers.stream().filter(h -> h.getInterfaceName().equals(interfaceName)).findFirst();
}