{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/939","labels_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/939/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/939/comments","events_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/939/events","html_url":"https://github.com/apache/incubator-brooklyn/pull/939","id":110218619,"number":939,"title":"Fix/anonymous inner classes in predicates","user":{"login":"aledsage","id":593113,"avatar_url":"https://avatars.githubusercontent.com/u/593113?v=3","gravatar_id":"","url":"https://api.github.com/users/aledsage","html_url":"https://github.com/aledsage","followers_url":"https://api.github.com/users/aledsage/followers","following_url":"https://api.github.com/users/aledsage/following{/other_user}","gists_url":"https://api.github.com/users/aledsage/gists{/gist_id}","starred_url":"https://api.github.com/users/aledsage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aledsage/subscriptions","organizations_url":"https://api.github.com/users/aledsage/orgs","repos_url":"https://api.github.com/users/aledsage/repos","events_url":"https://api.github.com/users/aledsage/events{/privacy}","received_events_url":"https://api.github.com/users/aledsage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-07T12:49:20Z","updated_at":"2015-10-14T13:07:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-brooklyn/pulls/939","html_url":"https://github.com/apache/incubator-brooklyn/pull/939","diff_url":"https://github.com/apache/incubator-brooklyn/pull/939.diff","patch_url":"https://github.com/apache/incubator-brooklyn/pull/939.patch"},"body":"Use of anonymous inner classes (or non-static inner classes) makes persistence very brittle.\r\n\r\nChanges our `*Predicates` and `*Functions` to use static inner classes (keeping the old classes around for backwards compatibility), and adds more tests for these."},"comment":{"url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/comments/148043955","html_url":"https://github.com/apache/incubator-brooklyn/pull/939#issuecomment-148043955","issue_url":"https://api.github.com/repos/apache/incubator-brooklyn/issues/939","id":148043955,"user":{"login":"hzbarcea","id":222984,"avatar_url":"https://avatars.githubusercontent.com/u/222984?v=3","gravatar_id":"","url":"https://api.github.com/users/hzbarcea","html_url":"https://github.com/hzbarcea","followers_url":"https://api.github.com/users/hzbarcea/followers","following_url":"https://api.github.com/users/hzbarcea/following{/other_user}","gists_url":"https://api.github.com/users/hzbarcea/gists{/gist_id}","starred_url":"https://api.github.com/users/hzbarcea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzbarcea/subscriptions","organizations_url":"https://api.github.com/users/hzbarcea/orgs","repos_url":"https://api.github.com/users/hzbarcea/repos","events_url":"https://api.github.com/users/hzbarcea/events{/privacy}","received_events_url":"https://api.github.com/users/hzbarcea/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T13:07:43Z","updated_at":"2015-10-14T13:07:43Z","body":"GTM. Tested, merging."}}