{"action":"created","issue":{"url":"https://api.github.com/repos/twitter/scrooge/issues/214","labels_url":"https://api.github.com/repos/twitter/scrooge/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/twitter/scrooge/issues/214/comments","events_url":"https://api.github.com/repos/twitter/scrooge/issues/214/events","html_url":"https://github.com/twitter/scrooge/pull/214","id":118831126,"number":214,"title":"Fix nullary warning within `UnknownUnionField`.","user":{"login":"nathankleyn","id":220826,"avatar_url":"https://avatars.githubusercontent.com/u/220826?v=3","gravatar_id":"","url":"https://api.github.com/users/nathankleyn","html_url":"https://github.com/nathankleyn","followers_url":"https://api.github.com/users/nathankleyn/followers","following_url":"https://api.github.com/users/nathankleyn/following{/other_user}","gists_url":"https://api.github.com/users/nathankleyn/gists{/gist_id}","starred_url":"https://api.github.com/users/nathankleyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathankleyn/subscriptions","organizations_url":"https://api.github.com/users/nathankleyn/orgs","repos_url":"https://api.github.com/users/nathankleyn/repos","events_url":"https://api.github.com/users/nathankleyn/events{/privacy}","received_events_url":"https://api.github.com/users/nathankleyn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-25T12:55:55Z","updated_at":"2015-12-01T00:08:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/twitter/scrooge/pulls/214","html_url":"https://github.com/twitter/scrooge/pull/214","diff_url":"https://github.com/twitter/scrooge/pull/214.diff","patch_url":"https://github.com/twitter/scrooge/pull/214.patch"},"body":"The `containedValue` field returns `Unit` but does not follow the standard of having parenthesis after the method name (`containedValue()`). Thus, a warning is produced:\r\n\r\n```scala\r\n[warn] foo.scala:240: side-effecting nullary methods are discouraged: suggest defining as `def containedValue()` instead\r\n[warn]     def containedValue: Unit = ()\r\n[warn]         ^\r\n```\r\n\r\nThis fix simply adds the parenthesis to the method name."},"comment":{"url":"https://api.github.com/repos/twitter/scrooge/issues/comments/160804646","html_url":"https://github.com/twitter/scrooge/pull/214#issuecomment-160804646","issue_url":"https://api.github.com/repos/twitter/scrooge/issues/214","id":160804646,"user":{"login":"kevinoliver","id":347229,"avatar_url":"https://avatars.githubusercontent.com/u/347229?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinoliver","html_url":"https://github.com/kevinoliver","followers_url":"https://api.github.com/users/kevinoliver/followers","following_url":"https://api.github.com/users/kevinoliver/following{/other_user}","gists_url":"https://api.github.com/users/kevinoliver/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinoliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinoliver/subscriptions","organizations_url":"https://api.github.com/users/kevinoliver/orgs","repos_url":"https://api.github.com/users/kevinoliver/repos","events_url":"https://api.github.com/users/kevinoliver/events{/privacy}","received_events_url":"https://api.github.com/users/kevinoliver/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T00:08:57Z","updated_at":"2015-12-01T00:08:57Z","body":"Cool. Since its still callable without the `()s` I guess its not really a breaking API change.\r\n\r\nThat said, mind updating the one usage of it in `ThriftStructMetaDataSpec.scala`?"}}