|
@@ -748,7 +748,8 @@ public abstract class INode implements INodeAttributes, Diff.Element<byte[]> {
|
|
*/
|
|
*/
|
|
public static String[] getPathNames(String path) {
|
|
public static String[] getPathNames(String path) {
|
|
if (path == null || !path.startsWith(Path.SEPARATOR)) {
|
|
if (path == null || !path.startsWith(Path.SEPARATOR)) {
|
|
- throw new AssertionError("Absolute path required");
|
|
|
|
|
|
+ throw new AssertionError("Absolute path required, but got '"
|
|
|
|
+ + path + "'");
|
|
}
|
|
}
|
|
return StringUtils.split(path, Path.SEPARATOR_CHAR);
|
|
return StringUtils.split(path, Path.SEPARATOR_CHAR);
|
|
}
|
|
}
|