{"action":"closed","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/313","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/313/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/313/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/313","id":59376974,"number":313,"title":"JsonSchema.getDiscoveryDefault() should be named just getDefault()","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Milestone-CodeGenVersion1.4.0","name":"Milestone-CodeGenVersion1.4.0","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-01T04:05:52Z","updated_at":"2015-03-01T04:05:52Z","closed_at":"2015-03-01T04:05:52Z","body":"```\nExternal references, such as a standards document, or specification?\n\nhttp://javadoc.google-api-java-client.googlecode.com/hg/apis/discovery/v1/com/go\nogle/api/services/discovery/model/Jsonschema.html#getDiscoveryDefault()\n\nJava environments (e.g. Java 6, Android 2.3, App Engine, or All)?\n\nAll\n\nPlease describe the feature requested.\n\nWe are currently prepending the service name whenever a property clashes with a \nreserved Java keyword.  For example, JsonSchema.getDiscoveryDefault() because \n\"default\" is a reserved Java keyword.  Although this is an issue for the \ngenerated field name, there is no such issue with the getters and setters, so \nthe getters and setters should not have the service name prepended.  So for \nthis example, it should be called getDefault().\n```\n\nOriginal issue reported on code.google.com by `yan...@google.com` on 6 Oct 2011 at 4:20"}}