String[] strings = splitPath(path); if (strings.length == 0 || (strings.length == 1 && "".equals(strings[0]))) { throw new ResourceException("Path is empty");
String[] strings = splitPath(path); if (strings.length == 0 || (strings.length == 1 && "".equals(strings[0]))) { throw new ResourceException("Path is empty");