File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
spring-core/src/main/java/org/springframework/core Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2021 the original author or authors.
2
+ * Copyright 2002-2022 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.
40
40
public class DefaultParameterNameDiscoverer extends PrioritizedParameterNameDiscoverer {
41
41
42
42
public DefaultParameterNameDiscoverer () {
43
- // TODO Remove this conditional inclusion when upgrading to Kotlin 1.5, see https://youtrack.jetbrains.com/issue/KT-44594
44
- if (KotlinDetector .isKotlinReflectPresent () && !NativeDetector .inNativeImage ()) {
43
+ if (KotlinDetector .isKotlinReflectPresent ()) {
45
44
addDiscoverer (new KotlinReflectionParameterNameDiscoverer ());
46
45
}
47
46
addDiscoverer (new StandardReflectionParameterNameDiscoverer ());
You can’t perform that action at this time.
0 commit comments