Skip to content

Commit 9f01b6a

Browse files
committed
Remove deprecated File-based loadFile() method from Verifier
The loadFile(File, boolean) method is no longer needed as all callers have been migrated to use the Path-based loadFile(Path, boolean) method or the String-based convenience method. This further reduces the File API surface in the integration test infrastructure, completing the migration to NIO2 Path API.
1 parent 4fe5ab2 commit 9f01b6a

File tree

1 file changed

+0
-4
lines changed
  • its/core-it-support/maven-it-helper/src/main/java/org/apache/maven/it

1 file changed

+0
-4
lines changed

its/core-it-support/maven-it-helper/src/main/java/org/apache/maven/it/Verifier.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -572,10 +572,6 @@ public List<String> loadFile(String basedir, String filename, boolean hasCommand
572572
return loadFile(Paths.get(basedir).resolve(filename), hasCommand);
573573
}
574574

575-
public List<String> loadFile(File file, boolean hasCommand) throws VerificationException {
576-
return loadFile(file.toPath(), hasCommand);
577-
}
578-
579575
/**
580576
* Loads the lines of the specified file.
581577
*

0 commit comments

Comments
 (0)