This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
}
l.add(s);
if (dosHack != '\0') {
//the dosHack was the last letter in the input string (not followed by the ':')
//so obviously not a drive letter.
//Fix for issue #57304
l.add(Character.toString(dosHack));
return (String[])l.toArray(new String[l.size()]);
assertEquals("effectively empty path handled",
Collections.EMPTY_LIST,
Arrays.asList(PropertyUtils.tokenizePath(":;:;")));
assertEquals("one letter directories handled",
Arrays.asList(new String[] {"c:/foo/c", "/foo/c/bar", "c", "/foo/c", "/bar"}),
Arrays.asList(PropertyUtils.tokenizePath("c:/foo/c;/foo/c/bar;c;/foo/c:/bar")));
assertEquals("one letter directories handled2",
Arrays.asList(new String[] {"c"}),
Arrays.asList(PropertyUtils.tokenizePath("c")));
public void testRelativizeFile() throws Exception {