mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update libsignal-service-java
This commit is contained in:
parent
fd25ef539f
commit
9eb97746c1
32 changed files with 242 additions and 288 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue