Skip to content

Commit 677a905

Browse files
committed
Correct Optionalish.getNullable docs
1 parent 824568f commit 677a905

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

value/src/main/java/com/google/auto/value/processor/Optionalish.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,8 @@ public String getEmpty() {
9797
}
9898

9999
/**
100-
* Returns a string representing the method call to obtain the nullable version of this Optional.
101-
* This will be something like {@code "fromNullable()"} or possibly {@code "ofNullable()"}.
102-
* It does not have a final semicolon.
100+
* Returns a string representing the method name to call to obtain the nullable version of
101+
* this Optional. This will be something like {@code "fromNullable"} or {@code "ofNullable"}.
103102
*
104103
* <p>This method is public so that it can be referenced as {@code p.optional.nullable} from
105104
* templates.

0 commit comments

Comments
 (0)