Skip to content

Commit

Permalink
Correct Optionalish.getNullable docs
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed May 3, 2018
1 parent 824568f commit 677a905
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"}.
*
* <p>This method is public so that it can be referenced as {@code p.optional.nullable} from
* templates.
Expand Down

0 comments on commit 677a905

Please sign in to comment.