[threeten-dev] Review for Remove [Temporal/Chrono][Field/Unit].getName #314

roger riggs roger.riggs at oracle.com
Fri May 24 13:08:25 PDT 2013


Hi,

The issue #314 <https://github.com/ThreeTen/threeten/issues/314> was 
raised to address the overlap between name and getName
methods in ChronoUnit.  The proposal is to remove the getName method
and use toString() when the readable name of a field or unit is needed.

The bulk of the classes in the review are replacing explicit calls to 
getName
with the corresponding or implicit call to toString().

http://cr.openjdk.java.net/~rriggs/webrev-getname-314/

Please review and comment.

Roger



More information about the threeten-dev mailing list