Make Testcontainer wait strategies final

pull/12960/head
Andy Wilkinson 7 years ago
parent f39cea0428
commit f6cc1cbd76

@ -43,7 +43,7 @@ public class CassandraContainer extends Container {
.withStartupAttempts(3).withStartupTimeout(Duration.ofSeconds(60))); .withStartupAttempts(3).withStartupTimeout(Duration.ofSeconds(60)));
} }
private static class WaitStrategy extends HostPortWaitStrategy { private static final class WaitStrategy extends HostPortWaitStrategy {
private final int port; private final int port;

@ -43,7 +43,7 @@ public class Neo4jContainer extends Container {
.withEnv("NEO4J_AUTH", "none")); .withEnv("NEO4J_AUTH", "none"));
} }
private static class WaitStrategy extends HostPortWaitStrategy { private static final class WaitStrategy extends HostPortWaitStrategy {
private final int port; private final int port;

Loading…
Cancel
Save