{"action":"created","issue":{"url":"https://api.github.com/repos/apache/flink/issues/1853","repository_url":"https://api.github.com/repos/apache/flink","labels_url":"https://api.github.com/repos/apache/flink/issues/1853/labels{/name}","comments_url":"https://api.github.com/repos/apache/flink/issues/1853/comments","events_url":"https://api.github.com/repos/apache/flink/issues/1853/events","html_url":"https://github.com/apache/flink/pull/1853","id":145989659,"number":1853,"title":"[FLINK-3700] [core] Add 'Preconditions' utility class.","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-05T13:30:07Z","updated_at":"2016-04-05T13:44:08Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/1853","html_url":"https://github.com/apache/flink/pull/1853","diff_url":"https://github.com/apache/flink/pull/1853.diff","patch_url":"https://github.com/apache/flink/pull/1853.patch"},"body":"The functionality that Flink uses from Guava is super simple and limited.\r\nWe get a big dependency that has caused a lot of pain in the past, simply to get access to some simple utility methods. This has cause us quite a bit of pain in the past, because of Guava version conflicts and the necessary dependency shading.\r\n\r\nIn order to reduce the dependency on Guava, this adds a simple Flink Preconditions class.\r\n\r\nWhile referencing well established libraries is a good idea for standalone apps, it is a problem for frameworks like Flink, if the dependencies are not well-behaved with respect to version compatibility. Guava is not well behaved in that sense.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/flink/issues/comments/205811166","html_url":"https://github.com/apache/flink/pull/1853#issuecomment-205811166","issue_url":"https://api.github.com/repos/apache/flink/issues/1853","id":205811166,"user":{"login":"tillrohrmann","id":5756858,"avatar_url":"https://avatars.githubusercontent.com/u/5756858?v=3","gravatar_id":"","url":"https://api.github.com/users/tillrohrmann","html_url":"https://github.com/tillrohrmann","followers_url":"https://api.github.com/users/tillrohrmann/followers","following_url":"https://api.github.com/users/tillrohrmann/following{/other_user}","gists_url":"https://api.github.com/users/tillrohrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/tillrohrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tillrohrmann/subscriptions","organizations_url":"https://api.github.com/users/tillrohrmann/orgs","repos_url":"https://api.github.com/users/tillrohrmann/repos","events_url":"https://api.github.com/users/tillrohrmann/events{/privacy}","received_events_url":"https://api.github.com/users/tillrohrmann/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T13:44:08Z","updated_at":"2016-04-05T13:44:08Z","body":"+1 for merging :-)"}}