{"action":"created","comment":{"url":"https://api.github.com/repos/missioncommand/emp3-android/pulls/comments/109160204","pull_request_review_id":30246124,"id":109160204,"diff_hunk":"@@ -49,17 +50,25 @@ public Camera() {\n      * @param camera An object that implements the IGeoCamera interface. See {@link IGeoCamera}\n      */\n     public Camera(IGeoCamera camera) {\n-        this.geoCamera = camera;\n+        if(null == camera) {\n+            this.geoCamera = new GeoCamera();\n+        } else {\n+            this.geoCamera = camera;\n+        }\n         if (this.geoCamera.getAltitudeMode() == null) {\n             this.geoCamera.setAltitudeMode(AltitudeMode.ABSOLUTE);\n         }\n+        validate();\n     }\n \n     /**\n      * Copy constructor\n      */\n \n     public Camera(ICamera from) {\n+        if(null == from) {\n+            throw new InvalidParameterException(\"from Camera must be non-null\");","path":"sdk/sdk-api/src/main/java/mil/emp3/api/Camera.java","position":37,"original_position":37,"commit_id":"3efb0651c767d8ff2a67503e0dcae31df2857950","original_commit_id":"3efb0651c767d8ff2a67503e0dcae31df2857950","user":{"login":"ee11cbb19052e40b07aac0ca060c23ee","id":25460191,"avatar_url":"https://avatars2.githubusercontent.com/u/25460191?v=3","gravatar_id":"","url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee","html_url":"https://github.com/ee11cbb19052e40b07aac0ca060c23ee","followers_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/followers","following_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/following{/other_user}","gists_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/gists{/gist_id}","starred_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/subscriptions","organizations_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/orgs","repos_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/repos","events_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/events{/privacy}","received_events_url":"https://api.github.com/users/ee11cbb19052e40b07aac0ca060c23ee/received_events","type":"User","site_admin":false},"body":"> throw new InvalidParameterException(\"from Camera must be non-null\");\r\n\r\nUse IllegalStateException instead","created_at":"2017-03-31T13:34:24Z","updated_at":"2017-03-31T14:00:00Z","html_url":"https://github.com/missioncommand/emp3-android/pull/118#discussion_r109160204","pull_request_url":"https://api.github.com/repos/missioncommand/emp3-android/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/missioncommand/emp3-android/pulls/comments/109160204"},"html":{"href":"https://github.com/missioncommand/emp3-android/pull/118#discussion_r109160204"},"pull_request":{"href":"https://api.github.com/repos/missioncommand/emp3-android/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/missioncommand/emp3-android/pulls/118","id":113634262,"html_url":"https://github.com/missioncommand/emp3-android/pull/118","diff_url":"https://github.com/missioncommand/emp3-android/pull/118.diff","patch_url":"https://github.com/missioncommand/emp3-android/pull/118.patch","issue_url":"https://api.github.com/repos/missioncommand/emp3-android/issues/118","number":118,"state":"open","locked":false,"title":"Feature/emp3 android#81 update feature","user":{"login":"empbarney","id":25461029,"avatar_url":"https://avatars2.githubusercontent.com/u/25461029?v=3","gravatar_id":"","url":"https://api.github.com/users/empbarney","html_url":"https://github.com/empbarney","followers_url":"https://api.github.com/users/empbarney/followers","following_url":"https://api.github.com/users/empbarney/following{/other_user}","gists_url":"https://api.github.com/users/empbarney/gists{/gist_id}","starred_url":"https://api.github.com/users/empbarney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/empbarney/subscriptions","organizations_url":"https://api.github.com/users/empbarney/orgs","repos_url":"https://api.github.com/users/empbarney/repos","events_url":"https://api.github.com/users/empbarney/events{/privacy}","received_events_url":"https://api.github.com/users/empbarney/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-03-31T11:58:12Z","updated_at":"2017-03-31T14:00:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d761818a5ee7a1ad9824ab67d8511ba7f74189fd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/missioncommand/emp3-android/pulls/118/commits","review_comments_url":"https://api.github.com/repos/missioncommand/emp3-android/pulls/118/comments","review_comment_url":"https://api.github.com/repos/missioncommand/emp3-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/missioncommand/emp3-android/issues/118/comments","statuses_url":"https://api.github.com/repos/missioncommand/emp3-android/statuses/3efb0651c767d8ff2a67503e0dcae31df2857950","head":{"label":"missioncommand:feature/emp3-android#81-Update-Feature","ref":"feature/emp3-android#81-Update-Feature","sha":"3efb0651c767d8ff2a67503e0dcae31df2857950","user":{"login":"missioncommand","id":5940653,"avatar_url":"https://avatars1.githubusercontent.com/u/5940653?v=3","gravatar_id":"","url":"https://api.github.com/users/missioncommand","html_url":"https://github.com/missioncommand","followers_url":"https://api.github.com/users/missioncommand/followers","following_url":"https://api.github.com/users/missioncommand/following{/other_user}","gists_url":"https://api.github.com/users/missioncommand/gists{/gist_id}","starred_url":"https://api.github.com/users/missioncommand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missioncommand/subscriptions","organizations_url":"https://api.github.com/users/missioncommand/orgs","repos_url":"https://api.github.com/users/missioncommand/repos","events_url":"https://api.github.com/users/missioncommand/events{/privacy}","received_events_url":"https://api.github.com/users/missioncommand/received_events","type":"Organization","site_admin":false},"repo":{"id":80471762,"name":"emp3-android","full_name":"missioncommand/emp3-android","owner":{"login":"missioncommand","id":5940653,"avatar_url":"https://avatars1.githubusercontent.com/u/5940653?v=3","gravatar_id":"","url":"https://api.github.com/users/missioncommand","html_url":"https://github.com/missioncommand","followers_url":"https://api.github.com/users/missioncommand/followers","following_url":"https://api.github.com/users/missioncommand/following{/other_user}","gists_url":"https://api.github.com/users/missioncommand/gists{/gist_id}","starred_url":"https://api.github.com/users/missioncommand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missioncommand/subscriptions","organizations_url":"https://api.github.com/users/missioncommand/orgs","repos_url":"https://api.github.com/users/missioncommand/repos","events_url":"https://api.github.com/users/missioncommand/events{/privacy}","received_events_url":"https://api.github.com/users/missioncommand/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/missioncommand/emp3-android","description":"Extensible Map Platform (EMP) Android Development Kit","fork":false,"url":"https://api.github.com/repos/missioncommand/emp3-android","forks_url":"https://api.github.com/repos/missioncommand/emp3-android/forks","keys_url":"https://api.github.com/repos/missioncommand/emp3-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/missioncommand/emp3-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/missioncommand/emp3-android/teams","hooks_url":"https://api.github.com/repos/missioncommand/emp3-android/hooks","issue_events_url":"https://api.github.com/repos/missioncommand/emp3-android/issues/events{/number}","events_url":"https://api.github.com/repos/missioncommand/emp3-android/events","assignees_url":"https://api.github.com/repos/missioncommand/emp3-android/assignees{/user}","branches_url":"https://api.github.com/repos/missioncommand/emp3-android/branches{/branch}","tags_url":"https://api.github.com/repos/missioncommand/emp3-android/tags","blobs_url":"https://api.github.com/repos/missioncommand/emp3-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/missioncommand/emp3-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/missioncommand/emp3-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/missioncommand/emp3-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/missioncommand/emp3-android/statuses/{sha}","languages_url":"https://api.github.com/repos/missioncommand/emp3-android/languages","stargazers_url":"https://api.github.com/repos/missioncommand/emp3-android/stargazers","contributors_url":"https://api.github.com/repos/missioncommand/emp3-android/contributors","subscribers_url":"https://api.github.com/repos/missioncommand/emp3-android/subscribers","subscription_url":"https://api.github.com/repos/missioncommand/emp3-android/subscription","commits_url":"https://api.github.com/repos/missioncommand/emp3-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/missioncommand/emp3-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/missioncommand/emp3-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/missioncommand/emp3-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/missioncommand/emp3-android/contents/{+path}","compare_url":"https://api.github.com/repos/missioncommand/emp3-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/missioncommand/emp3-android/merges","archive_url":"https://api.github.com/repos/missioncommand/emp3-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/missioncommand/emp3-android/downloads","issues_url":"https://api.github.com/repos/missioncommand/emp3-android/issues{/number}","pulls_url":"https://api.github.com/repos/missioncommand/emp3-android/pulls{/number}","milestones_url":"https://api.github.com/repos/missioncommand/emp3-android/milestones{/number}","notifications_url":"https://api.github.com/repos/missioncommand/emp3-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/missioncommand/emp3-android/labels{/name}","releases_url":"https://api.github.com/repos/missioncommand/emp3-android/releases{/id}","deployments_url":"https://api.github.com/repos/missioncommand/emp3-android/deployments","created_at":"2017-01-30T22:48:50Z","updated_at":"2017-03-07T16:00:37Z","pushed_at":"2017-03-31T11:58:13Z","git_url":"git://github.com/missioncommand/emp3-android.git","ssh_url":"git@github.com:missioncommand/emp3-android.git","clone_url":"https://github.com/missioncommand/emp3-android.git","svn_url":"https://github.com/missioncommand/emp3-android","homepage":"","size":4175,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":24,"forks":1,"open_issues":24,"watchers":1,"default_branch":"development"}},"base":{"label":"missioncommand:development","ref":"development","sha":"18c1377726ef48fe2867ef7d5acaa68a2c7f2d96","user":{"login":"missioncommand","id":5940653,"avatar_url":"https://avatars1.githubusercontent.com/u/5940653?v=3","gravatar_id":"","url":"https://api.github.com/users/missioncommand","html_url":"https://github.com/missioncommand","followers_url":"https://api.github.com/users/missioncommand/followers","following_url":"https://api.github.com/users/missioncommand/following{/other_user}","gists_url":"https://api.github.com/users/missioncommand/gists{/gist_id}","starred_url":"https://api.github.com/users/missioncommand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missioncommand/subscriptions","organizations_url":"https://api.github.com/users/missioncommand/orgs","repos_url":"https://api.github.com/users/missioncommand/repos","events_url":"https://api.github.com/users/missioncommand/events{/privacy}","received_events_url":"https://api.github.com/users/missioncommand/received_events","type":"Organization","site_admin":false},"repo":{"id":80471762,"name":"emp3-android","full_name":"missioncommand/emp3-android","owner":{"login":"missioncommand","id":5940653,"avatar_url":"https://avatars1.githubusercontent.com/u/5940653?v=3","gravatar_id":"","url":"https://api.github.com/users/missioncommand","html_url":"https://github.com/missioncommand","followers_url":"https://api.github.com/users/missioncommand/followers","following_url":"https://api.github.com/users/missioncommand/following{/other_user}","gists_url":"https://api.github.com/users/missioncommand/gists{/gist_id}","starred_url":"https://api.github.com/users/missioncommand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missioncommand/subscriptions","organizations_url":"https://api.github.com/users/missioncommand/orgs","repos_url":"https://api.github.com/users/missioncommand/repos","events_url":"https://api.github.com/users/missioncommand/events{/privacy}","received_events_url":"https://api.github.com/users/missioncommand/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/missioncommand/emp3-android","description":"Extensible Map Platform (EMP) Android Development Kit","fork":false,"url":"https://api.github.com/repos/missioncommand/emp3-android","forks_url":"https://api.github.com/repos/missioncommand/emp3-android/forks","keys_url":"https://api.github.com/repos/missioncommand/emp3-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/missioncommand/emp3-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/missioncommand/emp3-android/teams","hooks_url":"https://api.github.com/repos/missioncommand/emp3-android/hooks","issue_events_url":"https://api.github.com/repos/missioncommand/emp3-android/issues/events{/number}","events_url":"https://api.github.com/repos/missioncommand/emp3-android/events","assignees_url":"https://api.github.com/repos/missioncommand/emp3-android/assignees{/user}","branches_url":"https://api.github.com/repos/missioncommand/emp3-android/branches{/branch}","tags_url":"https://api.github.com/repos/missioncommand/emp3-android/tags","blobs_url":"https://api.github.com/repos/missioncommand/emp3-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/missioncommand/emp3-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/missioncommand/emp3-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/missioncommand/emp3-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/missioncommand/emp3-android/statuses/{sha}","languages_url":"https://api.github.com/repos/missioncommand/emp3-android/languages","stargazers_url":"https://api.github.com/repos/missioncommand/emp3-android/stargazers","contributors_url":"https://api.github.com/repos/missioncommand/emp3-android/contributors","subscribers_url":"https://api.github.com/repos/missioncommand/emp3-android/subscribers","subscription_url":"https://api.github.com/repos/missioncommand/emp3-android/subscription","commits_url":"https://api.github.com/repos/missioncommand/emp3-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/missioncommand/emp3-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/missioncommand/emp3-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/missioncommand/emp3-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/missioncommand/emp3-android/contents/{+path}","compare_url":"https://api.github.com/repos/missioncommand/emp3-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/missioncommand/emp3-android/merges","archive_url":"https://api.github.com/repos/missioncommand/emp3-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/missioncommand/emp3-android/downloads","issues_url":"https://api.github.com/repos/missioncommand/emp3-android/issues{/number}","pulls_url":"https://api.github.com/repos/missioncommand/emp3-android/pulls{/number}","milestones_url":"https://api.github.com/repos/missioncommand/emp3-android/milestones{/number}","notifications_url":"https://api.github.com/repos/missioncommand/emp3-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/missioncommand/emp3-android/labels{/name}","releases_url":"https://api.github.com/repos/missioncommand/emp3-android/releases{/id}","deployments_url":"https://api.github.com/repos/missioncommand/emp3-android/deployments","created_at":"2017-01-30T22:48:50Z","updated_at":"2017-03-07T16:00:37Z","pushed_at":"2017-03-31T11:58:13Z","git_url":"git://github.com/missioncommand/emp3-android.git","ssh_url":"git@github.com:missioncommand/emp3-android.git","clone_url":"https://github.com/missioncommand/emp3-android.git","svn_url":"https://github.com/missioncommand/emp3-android","homepage":"","size":4175,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":24,"forks":1,"open_issues":24,"watchers":1,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/missioncommand/emp3-android/pulls/118"},"html":{"href":"https://github.com/missioncommand/emp3-android/pull/118"},"issue":{"href":"https://api.github.com/repos/missioncommand/emp3-android/issues/118"},"comments":{"href":"https://api.github.com/repos/missioncommand/emp3-android/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/missioncommand/emp3-android/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/missioncommand/emp3-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/missioncommand/emp3-android/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/missioncommand/emp3-android/statuses/3efb0651c767d8ff2a67503e0dcae31df2857950"}}}}
{"actor":{"display_login":"ee11cbb19052e40b07aac0ca060c23ee"}}