From 0d2c5575339fc845783306ba3de387ea9f073a07 Mon Sep 17 00:00:00 2001 From: Kohsuke Kawaguchi Date: Sun, 25 Dec 2011 10:54:44 -0800 Subject: [PATCH] clarified --- core/src/main/java/hudson/FilePath.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/FilePath.java b/core/src/main/java/hudson/FilePath.java index 73646db2a2..186ca5e8c3 100644 --- a/core/src/main/java/hudson/FilePath.java +++ b/core/src/main/java/hudson/FilePath.java @@ -878,9 +878,9 @@ public final class FilePath implements Serializable { return n.substring(0,idx); } /** - * Gets just the file name portion. + * Gets just the file name portion without directories. * - * This method assumes that the file name is the same between local and remote. + * For example, "foo.txt" for "../abc/foo.txt" */ public String getName() { String r = remote;