summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java10
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java4
2 files changed, 10 insertions, 4 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
index bf7b753693..d8cab358e7 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java
@@ -1080,8 +1080,9 @@ public abstract class FS {
}
/**
- * Set the last modified time of a file system object. If the OS/JRE support
- * symbolic links, the link is modified, not the target,
+ * Set the last modified time of a file system object.
+ * <p>
+ * For symlinks it sets the modified time of the link target.
*
* @param f
* a {@link java.io.File} object.
@@ -1097,8 +1098,9 @@ public abstract class FS {
}
/**
- * Set the last modified time of a file system object. If the OS/JRE support
- * symbolic links, the link is modified, not the target,
+ * Set the last modified time of a file system object.
+ * <p>
+ * For symlinks it sets the modified time of the link target.
*
* @param p
* a {@link Path} object.
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java
index c43956e53d..aa39a44642 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java
@@ -710,6 +710,8 @@ public class FileUtils {
}
/**
+ * Set the last modified time of a file system object.
+ *
* @param file
* @param time
* @throws IOException
@@ -720,6 +722,8 @@ public class FileUtils {
}
/**
+ * Set the last modified time of a file system object.
+ *
* @param path
* @param time
* @throws IOException