Commit ca4c162
committed
Use ofVersion for CURRENT Spring Boot version
Replace the previous runtime string-based lookup of Spring Boot version with a type-based Version creation: add static import of ofVersion and change CURRENT to ofVersion(org.springframework.boot.SpringBootVersion.class). This simplifies version resolution and avoids calling SpringBootVersion.getVersion() directly.1 parent 3665d16 commit ca4c162
1 file changed
Lines changed: 3 additions & 3 deletions
File tree
- microsphere-spring-boot-core/src/main/java/io/microsphere/spring/boot
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
224 | | - | |
225 | | - | |
226 | 225 | | |
227 | | - | |
| 226 | + | |
228 | 227 | | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
0 commit comments