fix up javadoc on Creator trait (#961)
This commit is contained in:
parent
87609395a6
commit
7c82c2a1c4
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ trait Predicate[-T] extends java.io.Serializable {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A constructor/factory, takes no parameters but creates a new value of type T every call.
|
* A constructor/factory, takes no parameters but creates a new value of type T every call.
|
||||||
* Supports throwing `Exception` in the apply, which the `java.util.function.Creator` counterpart does not.
|
* Supports throwing `Exception` in the apply, which the `java.util.function.Supplier` counterpart does not.
|
||||||
*/
|
*/
|
||||||
@nowarn("msg=@SerialVersionUID has no effect")
|
@nowarn("msg=@SerialVersionUID has no effect")
|
||||||
@SerialVersionUID(1L)
|
@SerialVersionUID(1L)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue