Skip to content

Commit

Permalink
Issue #8973 - Comment change
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Dec 7, 2022
1 parent 3f2152e commit 17eefda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ public void addFile(Path path)

try
{
// Always follow links when check ultimate type of the path
// Check status of the real path
Path real = path.toRealPath(_linkOptions);
if (!Files.exists(real) || Files.isDirectory(real))
throw new IllegalStateException("Not file or doesn't exist: " + path);
Expand Down

0 comments on commit 17eefda

Please sign in to comment.