My preference would be to use the "someField()" form, which is the
default AutoValue used one. In my opinion, this naming convention also
enforces the concept of immutability with the absence of get/set
semantics.

On 16 January 2015 at 19:15, Jeremy Daggett
<jeremy.dagg...@rackspace.com> wrote:
> Hi devs,
>
> Can we determine the AutoValue naming conventions to use across the codebase 
> going forward? Do we continue with accessors like “getSomeField()”, versus 
> “someField()” as was introduced in the labs repos?  For example, take a look 
> at the jclouds-labs-google repo Address[2] and Bucket[3] classes.
>
> Opinions? We need consistency for our users, so any feedback is appreciated. 
> Thanks!
>
> /jd
>
> [1] https://github.com/jclouds/jclouds/pull/646
> [2] 
> https://github.com/jclouds/jclouds-labs-google/blob/master/google-compute-engine/src/main/java/org/jclouds/googlecomputeengine/domain/Address.java#L35
> [3] 
> https://github.com/jclouds/jclouds-labs-google/blob/master/google-cloud-storage/src/main/java/org/jclouds/googlecloudstorage/domain/Bucket.java#L41
>

Reply via email to