CHJani / google-api-java-client

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

JsonSchema.getDiscoveryDefault() should be named just getDefault() #313

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/discovery/v1/com/go
ogle/api/services/discovery/model/Jsonschema.html#getDiscoveryDefault()

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

All

Please describe the feature requested.

We are currently prepending the service name whenever a property clashes with a 
reserved Java keyword.  For example, JsonSchema.getDiscoveryDefault() because 
"default" is a reserved Java keyword.  Although this is an issue for the 
generated field name, there is no such issue with the getters and setters, so 
the getters and setters should not have the service name prepended.  So for 
this example, it should be called getDefault().

Original issue reported on code.google.com by yan...@google.com on 6 Oct 2011 at 4:20

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 4 Nov 2011 at 3:38

GoogleCodeExporter commented 9 years ago
Issue 332 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 2 Feb 2012 at 3:08