public static boolean namesEqual(@Nullable String name1, @Nullable String name2) {
    if (Strings.areSameInstance(name1, name2)) return true;
    if (name1 == null || name2 == null) return false;
    return SystemInfoRt.isFileSystemCaseSensitive ? name1.equals(name2) : name1.equalsIgnoreCase(name2);
  }
public static boolean namesEqual(@Nullable String name1, @Nullable String name2)