This is an automated email from the ASF dual-hosted git repository.
jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new e75209d53 Fix typos and grammar in WindowsJunctionUtils Javadoc
e75209d53 is described below
commit e75209d539f7076223d8dbd5946fd0d403cf9a56
Author: Mohd Irshad <[email protected]>
AuthorDate: Thu Nov 5 12:27:14 2026 +0530
Fix typos and grammar in WindowsJunctionUtils Javadoc
GitHub pull request 240
---
src/main/org/apache/tools/ant/util/WindowsJunctionUtils.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/org/apache/tools/ant/util/WindowsJunctionUtils.java
b/src/main/org/apache/tools/ant/util/WindowsJunctionUtils.java
index 7bed9dadc..8347a4606 100644
--- a/src/main/org/apache/tools/ant/util/WindowsJunctionUtils.java
+++ b/src/main/org/apache/tools/ant/util/WindowsJunctionUtils.java
@@ -71,8 +71,8 @@ public class WindowsJunctionUtils {
* Checks whether a given file is a windows junction.
*
* @return false if the given file is not a windows junction or
- * an exception occured while trying to check the file - most
- * likely because the file didn't exists.
+ * an exception occurred while trying to check the file - most
+ * likely because the file didn't exist.
*/
public boolean isJunctionSafe(final File file) {
return isJunctionSafe(file.toPath());
@@ -82,8 +82,8 @@ public class WindowsJunctionUtils {
* Checks whether a given path is a windows junction.
*
* @return false if the given path is not a junction or
- * an exception occured while trying to check the path - most
- * likely because the path didn't exists.
+ * an exception occurred while trying to check the path - most
+ * likely because the path didn't exist.
*/
public boolean isJunctionSafe(final Path path) {
try {