Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 7276660

Browse files
committed
codacy fixes
1 parent a65c307 commit 7276660

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scalecube-configuration/src/test/java/io/scalecube/configuration/fixtures/IntegrationEnvironmentFixture.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,15 @@ public final class IntegrationEnvironmentFixture implements Fixture {
2626
}
2727

2828
private GatewayClient client;
29-
private GatewayClientTransport clientTransport;
3029

3130
@Override
3231
public void setUp() throws TestAbortedException {
3332
GatewayClientSettings settings = GatewayClientSettings.builder().host(HOST).port(PORT).build();
3433

3534
client = new WebsocketGatewayClient(settings, WEBSOCKET_CLIENT_CODEC);
36-
clientTransport = new GatewayClientTransport(client);
3735
serviceCall =
3836
new ServiceCall()
39-
.transport(clientTransport)
37+
.transport(new GatewayClientTransport(client))
4038
.router(new StaticAddressRouter(Address.create(HOST, PORT)));
4139
}
4240

0 commit comments

Comments
 (0)