Skip to content

Commit

Permalink
Remove unnecessary dependency on a Jetbrains library
Browse files Browse the repository at this point in the history
  • Loading branch information
akudiyar committed Jul 29, 2023
1 parent b29ae05 commit 79d5865
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import io.tarantool.driver.core.TarantoolDaemonThreadFactory;
import io.tarantool.driver.exceptions.TarantoolNoSuchProcedureException;
import io.tarantool.driver.mappers.factories.DefaultMessagePackMapperFactory;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
Expand Down Expand Up @@ -369,7 +368,6 @@ private void replaceInstancesInfo(
client.space("instances_info").replace(tuple).join();
}

@NotNull
private List<TarantoolServerAddress> getShuffledTarantoolServerAddresses() {
List<TarantoolServerAddress> addresses = Arrays.asList(
new TarantoolServerAddress(container.getRouterHost(), container.getMappedPort(3301)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import io.tarantool.driver.api.TarantoolResult;
import io.tarantool.driver.api.tuple.TarantoolTuple;
import io.tarantool.driver.exceptions.TarantoolClientException;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
Expand Down Expand Up @@ -119,7 +118,6 @@ public void test_clientWithSsl_shouldWork() throws SSLException {
assertEquals("test", result.get(0));
}

@NotNull
private static SslContext getSslContext() throws SSLException {
return SslContextBuilder.forClient()
.trustManager(InsecureTrustManagerFactory.INSTANCE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import io.tarantool.driver.api.TarantoolResult;
import io.tarantool.driver.api.tuple.TarantoolTuple;
import io.tarantool.driver.exceptions.TarantoolClientException;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
Expand Down Expand Up @@ -104,7 +103,6 @@ public void test_clientWithoutCA_shouldThrowException_ifServerWithMTLS() throws
assertThrows(CompletionException.class, () -> clientWithSsl.eval("return 'test'").join());
}

@NotNull
private static SslContext getSslContextWithCA() throws Exception {
ClassLoader classloader = Thread.currentThread().getContextClassLoader();
final File keyCertChainFile = new File(classloader
Expand Down

0 comments on commit 79d5865

Please sign in to comment.