void (@Nullable String string) { if (StringUtil.isEmptyOrSpaces(string)) { return; } if (FileUtilRt.extensionEquals(string, DIFF)) { DEFAULT_PATCH_EXTENSION = DIFF; } else if (FileUtilRt.extensionEquals(string, PATCH)) { DEFAULT_PATCH_EXTENSION = PATCH; } }