Skip to content

Commit b690104

Browse files
lijunyzzZsnicoll
authored andcommitted
Polish
See gh-41510
1 parent d2cd5c9 commit b690104

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/util

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/util/Instantiator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void add(Class<?> type, Function<Class<?>, Object> factory) {
109109
* @return a list of instantiated instances
110110
*/
111111
public List<T> instantiate(Collection<String> names) {
112-
return instantiate((ClassLoader) null, names);
112+
return instantiate(null, names);
113113
}
114114

115115
/**
@@ -133,7 +133,7 @@ public List<T> instantiate(ClassLoader classLoader, Collection<String> names) {
133133
* @since 3.4.0
134134
*/
135135
public T instantiate(String name) {
136-
return instantiate((ClassLoader) null, name);
136+
return instantiate(null, name);
137137
}
138138

139139
/**

0 commit comments

Comments
 (0)