[threeten-dev] Review #383 ChronoLocalDate generics difficult to use

roger riggs roger.riggs at oracle.com
Tue Jul 9 14:39:32 PDT 2013


Please review this change  remove the generic type parameter from 
ChronoLocalDate.
As raised in issue #292 
<https://github.com/ThreeTen/threeten/issues/292> the type parameter is 
unnecessary and unwieldy.
Initially, it was useful to the implementation of default methods but 
the implementation
has been refactored.

This change reduces the number of cases where the developer will need
to deal explicitly with wildcard type parameters to ChronoZonedDateTime
and ChronoLocalDateTime.

The patch contains the changes proposed in the GIST rebased to the 
current tip.

Webrev:
    http://cr.openjdk.java.net/~rriggs/webrev-cld-nogenerictype-292/

Please review and comment.

Thanks, Roger






More information about the threeten-dev mailing list