Commit 810220e
committed
Use ANNOTATION_TYPE in OnPropertyPrefixCondition
Add a static ANNOTATION_TYPE constant for ConditionalOnPropertyPrefix and use it when reading annotation attributes and creating ResolvablePlaceholderAnnotationAttributes. This replaces direct references to ConditionalOnPropertyPrefix.class/its name, reducing duplication and improving maintainability.1 parent 90ab736 commit 810220e
1 file changed
Lines changed: 4 additions & 2 deletions
File tree
- microsphere-spring-boot-core/src/main/java/io/microsphere/spring/boot/condition
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
66 | | - | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | | - | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments