|
1 | 1 | /*
|
2 |
| - * Copyright 2012-2023 the original author or authors. |
| 2 | + * Copyright 2012-2024 the original author or authors. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
|
19 | 19 | import java.net.InetSocketAddress;
|
20 | 20 | import java.util.List;
|
21 | 21 |
|
22 |
| -import org.testcontainers.containers.CassandraContainer; |
| 22 | +import org.testcontainers.cassandra.CassandraContainer; |
23 | 23 |
|
24 | 24 | import org.springframework.boot.autoconfigure.cassandra.CassandraConnectionDetails;
|
25 | 25 | import org.springframework.boot.testcontainers.service.connection.ContainerConnectionDetailsFactory;
|
|
36 | 36 | * @author Phillip Webb
|
37 | 37 | */
|
38 | 38 | class CassandraContainerConnectionDetailsFactory
|
39 |
| - extends ContainerConnectionDetailsFactory<CassandraContainer<?>, CassandraConnectionDetails> { |
| 39 | + extends ContainerConnectionDetailsFactory<CassandraContainer, CassandraConnectionDetails> { |
40 | 40 |
|
41 | 41 | @Override
|
42 | 42 | protected CassandraConnectionDetails getContainerConnectionDetails(
|
43 |
| - ContainerConnectionSource<CassandraContainer<?>> source) { |
| 43 | + ContainerConnectionSource<CassandraContainer> source) { |
44 | 44 | return new CassandraContainerConnectionDetails(source);
|
45 | 45 | }
|
46 | 46 |
|
47 | 47 | /**
|
48 | 48 | * {@link CassandraConnectionDetails} backed by a {@link ContainerConnectionSource}.
|
49 | 49 | */
|
50 | 50 | private static final class CassandraContainerConnectionDetails
|
51 |
| - extends ContainerConnectionDetails<CassandraContainer<?>> implements CassandraConnectionDetails { |
| 51 | + extends ContainerConnectionDetails<CassandraContainer> implements CassandraConnectionDetails { |
52 | 52 |
|
53 |
| - private CassandraContainerConnectionDetails(ContainerConnectionSource<CassandraContainer<?>> source) { |
| 53 | + private CassandraContainerConnectionDetails(ContainerConnectionSource<CassandraContainer> source) { |
54 | 54 | super(source);
|
55 | 55 | }
|
56 | 56 |
|
|
0 commit comments