@@ -84,7 +84,7 @@ public static class Builder implements Supplier<HelpFormatter> {
8484 /**
8585 * Formatter for deprecated options.
8686 */
87- private Function <Option , String > deprecatedFormatFunc = DEFAULT_DEPRECATED_FORMAT ;
87+ private Function <Option , String > deprecatedFormatFunction = DEFAULT_DEPRECATED_FORMAT ;
8888
8989 /**
9090 * The output PrintWriter, defaults to wrapping {@link System#out}.
@@ -96,7 +96,7 @@ public static class Builder implements Supplier<HelpFormatter> {
9696
9797 @ Override
9898 public HelpFormatter get () {
99- return new HelpFormatter (deprecatedFormatFunc , printStream , showSince );
99+ return new HelpFormatter (deprecatedFormatFunction , printStream , showSince );
100100 }
101101
102102 /**
@@ -123,12 +123,12 @@ public Builder setShowDeprecated(final boolean useDefaultFormat) {
123123 /**
124124 * Sets whether to show deprecated options.
125125 *
126- * @param showDeprecatedFunc Specify the format for the deprecated options.
126+ * @param deprecatedFormatFunction Specify the format for the deprecated options.
127127 * @return {@code this} instance.
128128 * @since 1.8.0
129129 */
130- public Builder setShowDeprecated (final Function <Option , String > showDeprecatedFunc ) {
131- this .deprecatedFormatFunc = showDeprecatedFunc ;
130+ public Builder setShowDeprecated (final Function <Option , String > deprecatedFormatFunction ) {
131+ this .deprecatedFormatFunction = deprecatedFormatFunction ;
132132 return this ;
133133 }
134134
0 commit comments