equal
deleted
inserted
replaced
446 |
446 |
447 if (dir instanceof Win32ShellFolder2) { |
447 if (dir instanceof Win32ShellFolder2) { |
448 Win32ShellFolder2 sf = (Win32ShellFolder2)dir; |
448 Win32ShellFolder2 sf = (Win32ShellFolder2)dir; |
449 |
449 |
450 return (sf.isFileSystem() && sf.parent != null && |
450 return (sf.isFileSystem() && sf.parent != null && |
451 sf.parent.equals(Win32ShellFolder2.listRoots())); |
451 sf.parent.equals(getDrives())); |
452 } |
452 } |
453 String path = dir.getPath(); |
453 String path = dir.getPath(); |
454 |
454 |
455 if (path.length() != 3 || path.charAt(1) != ':') { |
455 if (path.length() != 3 || path.charAt(1) != ':') { |
456 return false; |
456 return false; |