diff --git a/value/src/main/java/com/google/auto/value/processor/Optionalish.java b/value/src/main/java/com/google/auto/value/processor/Optionalish.java index d69c279e94..38024fc536 100644 --- a/value/src/main/java/com/google/auto/value/processor/Optionalish.java +++ b/value/src/main/java/com/google/auto/value/processor/Optionalish.java @@ -97,9 +97,8 @@ public String getEmpty() { } /** - * Returns a string representing the method call to obtain the nullable version of this Optional. - * This will be something like {@code "fromNullable()"} or possibly {@code "ofNullable()"}. - * It does not have a final semicolon. + * Returns a string representing the method name to call to obtain the nullable version of + * this Optional. This will be something like {@code "fromNullable"} or {@code "ofNullable"}. * *

This method is public so that it can be referenced as {@code p.optional.nullable} from * templates.