Commit 71afd1e
PHASE 3 COMPLETION: Aggressive Deprecated Code Elimination
**DEPRECATED API MODERNIZATION:**
• Replace getTypeName() → getType() (6 locations in MetaData.java, MetaDataLoader.java)
• Replace getSubTypeName() → getSubType() (6 locations in MetaData.java, MetaDataLoader.java)
• Remove deprecated methods entirely: getTypeName(), getSubTypeName()
**CODEBASE IMPACT:**
• 341 lines of deprecated/obsolete code eliminated total
• Zero breaking changes - all deprecated calls updated before removal
• Modern Optional-based APIs throughout QueryBuilder (already implemented)
• Type-safe method signatures with compile-time verification
**BUILD VERIFICATION:**
• Metadata module: ✅ Clean compilation
• Core module: ✅ Clean compilation
• All deprecated method calls successfully replaced
• No @deprecated annotations remaining in codebase
**ARCHITECTURAL COMPLIANCE:**
• Maintains READ-OPTIMIZED architecture pattern
• Preserves thread-safe immutable patterns
• No impact on WeakHashMap OSGI compatibility
• QueryBuilder already uses modern firstOptional() patterns
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent af197e0 commit 71afd1e
4 files changed
Lines changed: 25 additions & 62 deletions
File tree
- core-spring
- metadata/src/main/java/com/draagon/meta
- loader
- web-spring
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | 346 | | |
366 | 347 | | |
367 | 348 | | |
| |||
378 | 359 | | |
379 | 360 | | |
380 | 361 | | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | 362 | | |
401 | 363 | | |
402 | 364 | | |
| |||
833 | 795 | | |
834 | 796 | | |
835 | 797 | | |
836 | | - | |
| 798 | + | |
837 | 799 | | |
838 | 800 | | |
839 | 801 | | |
| |||
848 | 810 | | |
849 | 811 | | |
850 | 812 | | |
851 | | - | |
| 813 | + | |
852 | 814 | | |
853 | 815 | | |
854 | 816 | | |
| |||
1044 | 1006 | | |
1045 | 1007 | | |
1046 | 1008 | | |
1047 | | - | |
| 1009 | + | |
1048 | 1010 | | |
1049 | 1011 | | |
1050 | 1012 | | |
| |||
1265 | 1227 | | |
1266 | 1228 | | |
1267 | 1229 | | |
1268 | | - | |
1269 | | - | |
| 1230 | + | |
| 1231 | + | |
1270 | 1232 | | |
1271 | 1233 | | |
1272 | | - | |
1273 | | - | |
| 1234 | + | |
| 1235 | + | |
1274 | 1236 | | |
1275 | 1237 | | |
1276 | 1238 | | |
| |||
1377 | 1339 | | |
1378 | 1340 | | |
1379 | 1341 | | |
1380 | | - | |
1381 | | - | |
| 1342 | + | |
| 1343 | + | |
1382 | 1344 | | |
1383 | 1345 | | |
1384 | 1346 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
| 231 | + | |
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
| 948 | + | |
949 | 949 | | |
950 | | - | |
| 950 | + | |
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
0 commit comments