private static boolean isIncompleteUnc(String path) {
    if (path.startsWith("\\\\")) {
      int p = path.indexOf('\\', 2);
      return p < 0 || p == path.length() - 1;
    }
    return false;
  }
private static boolean isIncompleteUnc(String path)