Skip to content

Commit

Permalink
Minor style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmisterm authored Sep 27, 2016
1 parent 001e8b3 commit 02f45cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proposals/BVAL-496.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,16 @@ These rules would make the following Threeten-Extra types supported:

To make the current instant customizable, a new SPI which returns `java.time.Clock` to be used by the validation engine for validating `@Past` and `@Future` constraints should be added:

[source,java]
----
package javax.validation.spi;
import java.time.Clock;
public interface ClockProvider {
Clock getClock();
}
----

BV implementations must use a default `ClockProvider` which always returns `java.time.Clock.systemDefault()`.

Expand Down

0 comments on commit 02f45cc

Please sign in to comment.