1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-24 23:32:05 +01:00

[sinttest] Fix buildWebsocketDescriptor()

This commit is contained in:
Florian Schmaus 2021-04-01 17:22:23 +02:00
parent 0c4b5d3ff9
commit c484b72fb7

View file

@ -154,7 +154,7 @@ public final class XmppConnectionDescriptor<
WebSocketFactory finalFactory = factory; WebSocketFactory finalFactory = factory;
return XmppConnectionDescriptor.buildWith(ModularXmppClientToServerConnection.class, ModularXmppClientToServerConnectionConfiguration.class, ModularXmppClientToServerConnectionConfiguration.Builder.class) return XmppConnectionDescriptor.buildWith(ModularXmppClientToServerConnection.class, ModularXmppClientToServerConnectionConfiguration.class, ModularXmppClientToServerConnectionConfiguration.Builder.class)
.withNickname("modular-websocket-java11") .withNickname(nickname)
.applyExtraConfguration(cb -> { .applyExtraConfguration(cb -> {
cb.removeAllModules(); cb.removeAllModules();
ModularXmppClientToServerConnectionModuleDescriptor webSocketModuleDescriptor = ModularXmppClientToServerConnectionModuleDescriptor webSocketModuleDescriptor =