VersionMessage: add back helper toStringServices() as deprecated

This commit is contained in:
Andreas Schildbach 2023-09-06 13:30:52 +02:00
parent e2b1c81b60
commit 2cdbc986a8

View file

@ -297,4 +297,10 @@ public class VersionMessage extends BaseMessage {
public boolean isPingPongSupported() { public boolean isPingPongSupported() {
return true; return true;
} }
/** @deprecated use {@link Services#of(long)} and {@link Services#toString()} */
@Deprecated
public static String toStringServices(long services) {
return Services.of(services).toString();
}
} }