clarified

This commit is contained in:
Kohsuke Kawaguchi committed 2011-12-25 10:54:44 -08:00
1 parent 99b25b44a8
commit 0d2c557533
1 file changed
+2 -2
+2 -2
View File
@@ -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;