{"action":"created","issue":{"url":"https://api.github.com/repos/apache/flink/issues/983","labels_url":"https://api.github.com/repos/apache/flink/issues/983/labels{/name}","comments_url":"https://api.github.com/repos/apache/flink/issues/983/comments","events_url":"https://api.github.com/repos/apache/flink/issues/983/events","html_url":"https://github.com/apache/flink/pull/983","id":98943540,"number":983,"title":"[FLINK-2457] Integrate Tuple0","user":{"login":"mjsax","id":8959638,"avatar_url":"https://avatars.githubusercontent.com/u/8959638?v=3","gravatar_id":"","url":"https://api.github.com/users/mjsax","html_url":"https://github.com/mjsax","followers_url":"https://api.github.com/users/mjsax/followers","following_url":"https://api.github.com/users/mjsax/following{/other_user}","gists_url":"https://api.github.com/users/mjsax/gists{/gist_id}","starred_url":"https://api.github.com/users/mjsax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjsax/subscriptions","organizations_url":"https://api.github.com/users/mjsax/orgs","repos_url":"https://api.github.com/users/mjsax/repos","events_url":"https://api.github.com/users/mjsax/events{/privacy}","received_events_url":"https://api.github.com/users/mjsax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-08-04T11:03:00Z","updated_at":"2015-08-06T14:39:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/983","html_url":"https://github.com/apache/flink/pull/983","diff_url":"https://github.com/apache/flink/pull/983.diff","patch_url":"https://github.com/apache/flink/pull/983.patch"},"body":" - extended TypeExtractor to handle Tuple0\r\n - extended .getTupleClass(int) to hanlde arity zero\r\n - simplified Receiver.createTuple(int)"},"comment":{"url":"https://api.github.com/repos/apache/flink/issues/comments/128396895","html_url":"https://github.com/apache/flink/pull/983#issuecomment-128396895","issue_url":"https://api.github.com/repos/apache/flink/issues/983","id":128396895,"user":{"login":"StephanEwen","id":1727146,"avatar_url":"https://avatars.githubusercontent.com/u/1727146?v=3","gravatar_id":"","url":"https://api.github.com/users/StephanEwen","html_url":"https://github.com/StephanEwen","followers_url":"https://api.github.com/users/StephanEwen/followers","following_url":"https://api.github.com/users/StephanEwen/following{/other_user}","gists_url":"https://api.github.com/users/StephanEwen/gists{/gist_id}","starred_url":"https://api.github.com/users/StephanEwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephanEwen/subscriptions","organizations_url":"https://api.github.com/users/StephanEwen/orgs","repos_url":"https://api.github.com/users/StephanEwen/repos","events_url":"https://api.github.com/users/StephanEwen/events{/privacy}","received_events_url":"https://api.github.com/users/StephanEwen/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T14:39:30Z","updated_at":"2015-08-06T14:39:30Z","body":"Two comments on the singleton change:\r\n  - The Tuple0.class.newInstance() will now probably fail (due to the private constructor)\r\n  - Java serialization still creates copies. Need to overwrite the `readResolve()` method to create proper singletons.\r\n  - It is probably okay allow Tuple0 instances to be created. We could simply providing a static shareable instance in the class for convenience (soft-singleton style).\r\n\r\n@twalthr Are the TypeExctractor related changes good?\r\n\r\nThanks for reverting the whitespace changes. I did actually not expect that, it was more a comment for future pull requests..."}}