File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
spring-core/src/test/java/org/springframework/aot/hint/predicate Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .aot .hint .predicate ;
18
18
19
-
20
19
import java .lang .reflect .Constructor ;
21
20
import java .lang .reflect .Field ;
22
21
import java .lang .reflect .Method ;
@@ -47,12 +46,8 @@ class ReflectionHintsPredicatesTests {
47
46
48
47
private static Constructor <?> publicConstructor ;
49
48
50
- private static Method privateMethod ;
51
-
52
49
private static Method publicMethod ;
53
50
54
- private static Field privateField ;
55
-
56
51
private static Field publicField ;
57
52
58
53
private final ReflectionHintsPredicates reflection = new ReflectionHintsPredicates ();
@@ -64,9 +59,7 @@ class ReflectionHintsPredicatesTests {
64
59
static void setupAll () throws Exception {
65
60
privateConstructor = SampleClass .class .getDeclaredConstructor (String .class );
66
61
publicConstructor = SampleClass .class .getConstructor ();
67
- privateMethod = SampleClass .class .getDeclaredMethod ("privateMethod" );
68
62
publicMethod = SampleClass .class .getMethod ("publicMethod" );
69
- privateField = SampleClass .class .getDeclaredField ("privateField" );
70
63
publicField = SampleClass .class .getField ("publicField" );
71
64
}
72
65
You can’t perform that action at this time.
0 commit comments