Skip to content

Commit

Permalink
Remove outdated reference to Ant
Browse files Browse the repository at this point in the history
  • Loading branch information
mihnita committed Dec 6, 2024
1 parent 67705cc commit 4b3b616
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ public CleanOutputDirectoryTask() {
public static final class Retain extends Task {
private Path path = null;

// Don't use "Path" for the argument type because that always makes an absolute path (e.g.
// relative to the working directory for the Ant task). We want relative paths.
// Don't use "Path" for the argument type because that always makes an absolute path
// (e.g. relative to the working directory). We want relative paths.
public void setPath(String path) {
Path p = Paths.get(path).normalize();
checkBuild(!p.isAbsolute() && !p.startsWith(".."), "invalid path: %s", path);
Expand Down

0 comments on commit 4b3b616

Please sign in to comment.