private static int getMaxInplaceRenameSegments() {
    try {
      return getMaxInplaceRenameSegmentsRegistryValue().asInteger();
    }
    catch (MissingResourceException e) {
      return -1;
    }
  }
private static int getMaxInplaceRenameSegments()