File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
spring-core/src/main/java/org/springframework/core Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2018 the original author or authors.
2
+ * Copyright 2002-2020 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.
18
18
19
19
import java .lang .annotation .Annotation ;
20
20
21
- import org .apache .commons .logging .Log ;
22
- import org .apache .commons .logging .LogFactory ;
23
-
24
21
import org .springframework .lang .Nullable ;
25
22
import org .springframework .util .ClassUtils ;
26
23
34
31
@ SuppressWarnings ("unchecked" )
35
32
public abstract class KotlinDetector {
36
33
37
- private static final Log logger = LogFactory .getLog (KotlinDetector .class );
38
-
39
34
@ Nullable
40
35
private static final Class <? extends Annotation > kotlinMetadata ;
41
36
@@ -53,9 +48,6 @@ public abstract class KotlinDetector {
53
48
}
54
49
kotlinMetadata = (Class <? extends Annotation >) metadata ;
55
50
kotlinReflectPresent = ClassUtils .isPresent ("kotlin.reflect.full.KClasses" , classLoader );
56
- if (kotlinMetadata != null && !kotlinReflectPresent ) {
57
- logger .info ("Kotlin reflection implementation not found at runtime, related features won't be available." );
58
- }
59
51
}
60
52
61
53
You can’t perform that action at this time.
0 commit comments