doc improvement

This commit is contained in:
Kohsuke Kawaguchi committed 2012-05-22 16:23:22 -07:00
1 parent 93b88af550
commit 06ec0c3dd8
1 file changed
+3
+3
View File
@@ -228,6 +228,9 @@ public final class FilePath implements Serializable {
}
}
/**
* Is the given path name an absolute path?
*/
private static boolean isAbsolute(String rel) {
return rel.startsWith("/") || DRIVE_PATTERN.matcher(rel).matches();
}