{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/12745","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/12745/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/12745/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/12745/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/12745","id":354325570,"node_id":"MDU6SXNzdWUzNTQzMjU1NzA=","number":12745,"title":"Nullability of Polygon coordinates","user":{"login":"mkrussel77","id":14059294,"node_id":"MDQ6VXNlcjE0MDU5Mjk0","avatar_url":"https://avatars0.githubusercontent.com/u/14059294?v=4","gravatar_id":"","url":"https://api.github.com/users/mkrussel77","html_url":"https://github.com/mkrussel77","followers_url":"https://api.github.com/users/mkrussel77/followers","following_url":"https://api.github.com/users/mkrussel77/following{/other_user}","gists_url":"https://api.github.com/users/mkrussel77/gists{/gist_id}","starred_url":"https://api.github.com/users/mkrussel77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkrussel77/subscriptions","organizations_url":"https://api.github.com/users/mkrussel77/orgs","repos_url":"https://api.github.com/users/mkrussel77/repos","events_url":"https://api.github.com/users/mkrussel77/events{/privacy}","received_events_url":"https://api.github.com/users/mkrussel77/received_events","type":"User","site_admin":false},"labels":[{"id":143173729,"node_id":"MDU6TGFiZWwxNDMxNzM3Mjk=","url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Android","name":"Android","color":"000000","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T13:45:42Z","updated_at":"2018-09-03T11:59:49Z","closed_at":"2018-09-03T11:59:49Z","author_association":"NONE","body":"<!--\r\nHello and thanks for contributing to the Mapbox Maps SDK for Android! To help us diagnose your problem quickly, please:\r\n\r\n - Include a minimal demonstration of the bug, including code, logs, and screenshots.\r\n - Ensure you can reproduce the bug using the latest release.\r\n - Only post to report a bug or request a feature; direct all other questions to: https://stackoverflow.com/questions/tagged/mapbox\r\n\r\nStart with a brief description below this line. -->\r\n\r\nNot a bug, but there seems to be some inconsistency with the nullability of coordinates.\r\n\r\n`CoordinateContainer.coordinates` is not annotated to indicate what the nullability is.  Must of the static analysis treat this as unknown, and you may or may not check.\r\n\r\nAll the subclasses annotate the method as `NonNull`, except for `Polygon`, which marks it as `Nullable`.  Seems strange that single implementation can be null but all the others cannot.  And if I access from the parent interface, and don't get any warnings about not checking for null.\r\n\r\n**Android versions:** N/A\r\n**Device models:** N/A\r\n**Mapbox SDK versions:** 6.4.0\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/418094209","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/12745#issuecomment-418094209","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/12745","id":418094209,"node_id":"MDEyOklzc3VlQ29tbWVudDQxODA5NDIwOQ==","user":{"login":"tobrun","id":2151639,"node_id":"MDQ6VXNlcjIxNTE2Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/2151639?v=4","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"created_at":"2018-09-03T11:59:49Z","updated_at":"2018-09-03T11:59:49Z","author_association":"MEMBER","body":"Thanks for the report @mkrussel77 , following up on this upstream in https://github.com/mapbox/mapbox-java/issues/881"}}
{"actor":{"display_login":"tobrun"}}