[threeten-dev] static methods in interfaces: TemporalAdjuster and TemporalQuery

Stephen Colebourne scolebourne at joda.org
Wed Oct 2 00:50:35 PDT 2013


Looks good to me.
This change also aids separation of the Temporal layer of interfaces.
Stephen

On 1 October 2013 22:53, roger riggs <roger.riggs at oracle.com> wrote:
> Hi,
>
> As proposed in https://github.com/ThreeTen/threeten/issues/340
> and in JBS:  https://bugs.openjdk.java.net/browse/JDK-8025722
>
> "The static methods on TemporalAdjuster and TemporalQuery feel slightly
> misplaced after using them for a few months. While they make discovery
> easier, they add significant weight to the basic interface. Using separate
> static classes for methods which are an extensible set feels more
> appropriate now. "
>
> The javadoc is:
> http://cr.openjdk.java.net/~rriggs/javadoc-temporal-statics-8025722/
>
> The webrev:
> http://cr.openjdk.java.net/~rriggs/webrev-temporal-statics-8025722/
>
> Please comment, Roger
>
> p.s. a regular core-libs Review will be needed also.
>


More information about the threeten-dev mailing list