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 Aug 2, 2023
1 parent cd1d0f1 commit 987d00a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/test/java/io/tarantool/driver/TarantoolUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public static boolean versionGreaterOrEqualThen(String tarantoolVersion) {
TarantoolVersion version = new TarantoolVersion(tarantoolVersion);
return ciVersion.getMajor() >= version.getMajor() &&
ciVersion.getMinor() >= version.getMinor();

}

public static boolean versionWithUUID() {
Expand Down
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 987d00a

Please sign in to comment.