Commit 4fe5ab2
committed
Remove deprecated File-based extractResources() method
After successfully migrating all 704 integration tests to use the new
Path-based extractResourcesAsPath() method, the old File-based method
is no longer needed and has been removed.
Changes:
- Removed extractResources() method from AbstractMavenIntegrationTestCase
- Updated tests to verify Path-to-File conversion instead of backward compatibility
- All integration tests compile successfully without the deprecated method
- All unit tests pass
This completes the full migration to NIO2 Path API for integration tests.
The codebase now exclusively uses modern Path-based operations, providing
better performance, improved cross-platform compatibility, and cleaner code.1 parent b239ff7 commit 4fe5ab2
File tree
3 files changed
+22
-26
lines changed- its/core-it-support/maven-it-helper/src
- main/java/org/apache/maven/it
- test/java/org/apache/maven/it
3 files changed
+22
-26
lines changedLines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 49 | + | |
| 50 | + | |
58 | 51 | | |
59 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
0 commit comments