mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-28 04:59:10 +00:00
Simplify generics in CassandraRepositoriesAutoConfigurationTests
This commit is contained in:
+3
-3
@@ -87,11 +87,11 @@ public class CassandraRepositoriesAutoConfigurationTests {
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private Set<? extends Class<?>> getInitialEntitySet() {
|
||||
private Set<Class<?>> getInitialEntitySet() {
|
||||
BasicCassandraMappingContext mappingContext = this.context
|
||||
.getBean(BasicCassandraMappingContext.class);
|
||||
return (Set<? extends Class<?>>) ReflectionTestUtils
|
||||
.getField(mappingContext, "initialEntitySet");
|
||||
return (Set<Class<?>>) ReflectionTestUtils.getField(mappingContext,
|
||||
"initialEntitySet");
|
||||
}
|
||||
|
||||
private void addConfigurations(Class<?>... configurations) {
|
||||
|
||||
Reference in New Issue
Block a user