Add @Nullable declaration to getDefaultConstructor()

See gh-25367
This commit is contained in:
Sam Brannen
2020-07-16 17:32:16 +02:00
parent b451379c2f
commit 111899aa63

View File

@@ -726,6 +726,7 @@ public class Indexer extends SpelNodeImpl {
}
}
@Nullable
private Constructor<?> getDefaultConstructor(Class<?> type) {
try {
return ReflectionUtils.accessibleConstructor(type);