CHJani / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Don't include service name as prefix to getter/setter methods #332

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://javadoc.google-api-java-client.googlecode.com/hg/apis/plus/v1/com/google/
api/services/plus/model/Activity.html#getPlusObject()

https://www.googleapis.com/discovery/v1/apis/plus/v1/rest?fields=schemas/Activit
y/properties/object

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

In some cases like getPlusObject() in the above examples, we add the service 
name as a prefix to the getter and setter name.  This is silly.  We should just 
remove that prefix, e.g. in the case here it should be called getObject() and 
setObject().

Original issue reported on code.google.com by yan...@google.com on 28 Oct 2011 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 28 Oct 2011 at 8:36

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 11 Nov 2011 at 8:43