|
|
|
@ -1358,7 +1358,7 @@ class ConfigurationClassPostProcessorTests { |
|
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
public Repository<String> stringRepo() { |
|
|
|
public Repository<String> stringRepo() { |
|
|
|
return new Repository<String>() { |
|
|
|
return new Repository<>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return "Repository<String>"; |
|
|
|
return "Repository<String>"; |
|
|
|
@ -1368,7 +1368,7 @@ class ConfigurationClassPostProcessorTests { |
|
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
public Repository<Integer> integerRepo() { |
|
|
|
public Repository<Integer> integerRepo() { |
|
|
|
return new Repository<Integer>() { |
|
|
|
return new Repository<>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return "Repository<Integer>"; |
|
|
|
return "Repository<Integer>"; |
|
|
|
@ -1378,7 +1378,7 @@ class ConfigurationClassPostProcessorTests { |
|
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
public Repository<?> genericRepo() { |
|
|
|
public Repository<?> genericRepo() { |
|
|
|
return new Repository<Object>() { |
|
|
|
return new Repository<>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return "Repository<Object>"; |
|
|
|
return "Repository<Object>"; |
|
|
|
@ -1423,7 +1423,7 @@ class ConfigurationClassPostProcessorTests { |
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
@Scope("prototype") |
|
|
|
@Scope("prototype") |
|
|
|
public Repository<String> stringRepo() { |
|
|
|
public Repository<String> stringRepo() { |
|
|
|
return new Repository<String>() { |
|
|
|
return new Repository<>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return "Repository<String>"; |
|
|
|
return "Repository<String>"; |
|
|
|
@ -1434,7 +1434,7 @@ class ConfigurationClassPostProcessorTests { |
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
@Scope("prototype") |
|
|
|
@Scope("prototype") |
|
|
|
public Repository<Integer> integerRepo() { |
|
|
|
public Repository<Integer> integerRepo() { |
|
|
|
return new Repository<Integer>() { |
|
|
|
return new Repository<>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return "Repository<Integer>"; |
|
|
|
return "Repository<Integer>"; |
|
|
|
@ -1446,7 +1446,7 @@ class ConfigurationClassPostProcessorTests { |
|
|
|
@Scope("prototype") |
|
|
|
@Scope("prototype") |
|
|
|
@SuppressWarnings("rawtypes") |
|
|
|
@SuppressWarnings("rawtypes") |
|
|
|
public Repository genericRepo() { |
|
|
|
public Repository genericRepo() { |
|
|
|
return new Repository<Object>() { |
|
|
|
return new Repository<>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return "Repository<Object>"; |
|
|
|
return "Repository<Object>"; |
|
|
|
@ -1468,7 +1468,7 @@ class ConfigurationClassPostProcessorTests { |
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
@Scope(scopeName = "prototype", proxyMode = ScopedProxyMode.TARGET_CLASS) |
|
|
|
@Scope(scopeName = "prototype", proxyMode = ScopedProxyMode.TARGET_CLASS) |
|
|
|
public Repository<String> stringRepo() { |
|
|
|
public Repository<String> stringRepo() { |
|
|
|
return new Repository<String>() { |
|
|
|
return new Repository<>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return "Repository<String>"; |
|
|
|
return "Repository<String>"; |
|
|
|
@ -1479,7 +1479,7 @@ class ConfigurationClassPostProcessorTests { |
|
|
|
@Bean |
|
|
|
@Bean |
|
|
|
@PrototypeScoped |
|
|
|
@PrototypeScoped |
|
|
|
public Repository<Integer> integerRepo() { |
|
|
|
public Repository<Integer> integerRepo() { |
|
|
|
return new Repository<Integer>() { |
|
|
|
return new Repository<>() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return "Repository<Integer>"; |
|
|
|
return "Repository<Integer>"; |
|
|
|
|