fix up javadoc on Creator trait (#961)

This commit is contained in:
PJ Fanning 2024-01-15 17:56:25 +01:00 committed by GitHub
parent 87609395a6
commit 7c82c2a1c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
* 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")
@SerialVersionUID(1L)