{"action":"created","comment":{"url":"https://api.github.com/repos/openlattice/shuttle/pulls/comments/210992592","pull_request_review_id":147316159,"id":210992592,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDk5MjU5Mg==","diff_hunk":"@@ -0,0 +1,32 @@\n+package transforms;\n+\n+import com.openlattice.shuttle.Shuttle;\n+import com.openlattice.shuttle.transformations.Transformation;\n+import org.apache.commons.lang3.StringUtils;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+public class ParseDoubleTransform extends Transformation<String> {\n+\n+    private static final Logger logger = LoggerFactory\n+            .getLogger( Shuttle.class );\n+\n+    /**\n+     * Represents a transformation to parse doubles from a string.\n+     */\n+    public ParseDoubleTransform() {\n+    }\n+\n+    @Override\n+    public Object apply( String o ) {\n+        if ( StringUtils.isNotBlank( o ) ) {","path":"src/main/java/transforms/ParseDoubleTransform.java","position":22,"original_position":22,"commit_id":"dce476164fca31072a1529752bc298b78b59ae95","original_commit_id":"dce476164fca31072a1529752bc298b78b59ae95","user":{"login":"katherinebernstein","id":8203351,"node_id":"MDQ6VXNlcjgyMDMzNTE=","avatar_url":"https://avatars2.githubusercontent.com/u/8203351?v=4","gravatar_id":"","url":"https://api.github.com/users/katherinebernstein","html_url":"https://github.com/katherinebernstein","followers_url":"https://api.github.com/users/katherinebernstein/followers","following_url":"https://api.github.com/users/katherinebernstein/following{/other_user}","gists_url":"https://api.github.com/users/katherinebernstein/gists{/gist_id}","starred_url":"https://api.github.com/users/katherinebernstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katherinebernstein/subscriptions","organizations_url":"https://api.github.com/users/katherinebernstein/orgs","repos_url":"https://api.github.com/users/katherinebernstein/repos","events_url":"https://api.github.com/users/katherinebernstein/events{/privacy}","received_events_url":"https://api.github.com/users/katherinebernstein/received_events","type":"User","site_admin":false},"body":"You can also use the `Parsers.parseDouble` logic here to avoid duplication of logic","created_at":"2018-08-17T18:17:10Z","updated_at":"2018-08-17T18:30:28Z","html_url":"https://github.com/openlattice/shuttle/pull/33#discussion_r210992592","pull_request_url":"https://api.github.com/repos/openlattice/shuttle/pulls/33","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/openlattice/shuttle/pulls/comments/210992592"},"html":{"href":"https://github.com/openlattice/shuttle/pull/33#discussion_r210992592"},"pull_request":{"href":"https://api.github.com/repos/openlattice/shuttle/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/openlattice/shuttle/pulls/33","id":204607916,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NjA3OTE2","html_url":"https://github.com/openlattice/shuttle/pull/33","diff_url":"https://github.com/openlattice/shuttle/pull/33.diff","patch_url":"https://github.com/openlattice/shuttle/pull/33.patch","issue_url":"https://api.github.com/repos/openlattice/shuttle/issues/33","number":33,"state":"open","locked":false,"title":"Feature/transformations","user":{"login":"jokedurnez","id":7630327,"node_id":"MDQ6VXNlcjc2MzAzMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/7630327?v=4","gravatar_id":"","url":"https://api.github.com/users/jokedurnez","html_url":"https://github.com/jokedurnez","followers_url":"https://api.github.com/users/jokedurnez/followers","following_url":"https://api.github.com/users/jokedurnez/following{/other_user}","gists_url":"https://api.github.com/users/jokedurnez/gists{/gist_id}","starred_url":"https://api.github.com/users/jokedurnez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jokedurnez/subscriptions","organizations_url":"https://api.github.com/users/jokedurnez/orgs","repos_url":"https://api.github.com/users/jokedurnez/repos","events_url":"https://api.github.com/users/jokedurnez/events{/privacy}","received_events_url":"https://api.github.com/users/jokedurnez/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-28T19:43:38Z","updated_at":"2018-08-17T18:30:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"470a2fc579c8dd23ebb245228ab8b591fdef6e33","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/openlattice/shuttle/pulls/33/commits","review_comments_url":"https://api.github.com/repos/openlattice/shuttle/pulls/33/comments","review_comment_url":"https://api.github.com/repos/openlattice/shuttle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openlattice/shuttle/issues/33/comments","statuses_url":"https://api.github.com/repos/openlattice/shuttle/statuses/dce476164fca31072a1529752bc298b78b59ae95","head":{"label":"openlattice:feature/transformations","ref":"feature/transformations","sha":"dce476164fca31072a1529752bc298b78b59ae95","user":{"login":"openlattice","id":29369438,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzY5NDM4","avatar_url":"https://avatars0.githubusercontent.com/u/29369438?v=4","gravatar_id":"","url":"https://api.github.com/users/openlattice","html_url":"https://github.com/openlattice","followers_url":"https://api.github.com/users/openlattice/followers","following_url":"https://api.github.com/users/openlattice/following{/other_user}","gists_url":"https://api.github.com/users/openlattice/gists{/gist_id}","starred_url":"https://api.github.com/users/openlattice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openlattice/subscriptions","organizations_url":"https://api.github.com/users/openlattice/orgs","repos_url":"https://api.github.com/users/openlattice/repos","events_url":"https://api.github.com/users/openlattice/events{/privacy}","received_events_url":"https://api.github.com/users/openlattice/received_events","type":"Organization","site_admin":false},"repo":{"id":99601918,"node_id":"MDEwOlJlcG9zaXRvcnk5OTYwMTkxOA==","name":"shuttle","full_name":"openlattice/shuttle","owner":{"login":"openlattice","id":29369438,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzY5NDM4","avatar_url":"https://avatars0.githubusercontent.com/u/29369438?v=4","gravatar_id":"","url":"https://api.github.com/users/openlattice","html_url":"https://github.com/openlattice","followers_url":"https://api.github.com/users/openlattice/followers","following_url":"https://api.github.com/users/openlattice/following{/other_user}","gists_url":"https://api.github.com/users/openlattice/gists{/gist_id}","starred_url":"https://api.github.com/users/openlattice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openlattice/subscriptions","organizations_url":"https://api.github.com/users/openlattice/orgs","repos_url":"https://api.github.com/users/openlattice/repos","events_url":"https://api.github.com/users/openlattice/events{/privacy}","received_events_url":"https://api.github.com/users/openlattice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openlattice/shuttle","description":"Continuous Data Integration Agent","fork":false,"url":"https://api.github.com/repos/openlattice/shuttle","forks_url":"https://api.github.com/repos/openlattice/shuttle/forks","keys_url":"https://api.github.com/repos/openlattice/shuttle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openlattice/shuttle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openlattice/shuttle/teams","hooks_url":"https://api.github.com/repos/openlattice/shuttle/hooks","issue_events_url":"https://api.github.com/repos/openlattice/shuttle/issues/events{/number}","events_url":"https://api.github.com/repos/openlattice/shuttle/events","assignees_url":"https://api.github.com/repos/openlattice/shuttle/assignees{/user}","branches_url":"https://api.github.com/repos/openlattice/shuttle/branches{/branch}","tags_url":"https://api.github.com/repos/openlattice/shuttle/tags","blobs_url":"https://api.github.com/repos/openlattice/shuttle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openlattice/shuttle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openlattice/shuttle/git/refs{/sha}","trees_url":"https://api.github.com/repos/openlattice/shuttle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openlattice/shuttle/statuses/{sha}","languages_url":"https://api.github.com/repos/openlattice/shuttle/languages","stargazers_url":"https://api.github.com/repos/openlattice/shuttle/stargazers","contributors_url":"https://api.github.com/repos/openlattice/shuttle/contributors","subscribers_url":"https://api.github.com/repos/openlattice/shuttle/subscribers","subscription_url":"https://api.github.com/repos/openlattice/shuttle/subscription","commits_url":"https://api.github.com/repos/openlattice/shuttle/commits{/sha}","git_commits_url":"https://api.github.com/repos/openlattice/shuttle/git/commits{/sha}","comments_url":"https://api.github.com/repos/openlattice/shuttle/comments{/number}","issue_comment_url":"https://api.github.com/repos/openlattice/shuttle/issues/comments{/number}","contents_url":"https://api.github.com/repos/openlattice/shuttle/contents/{+path}","compare_url":"https://api.github.com/repos/openlattice/shuttle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openlattice/shuttle/merges","archive_url":"https://api.github.com/repos/openlattice/shuttle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openlattice/shuttle/downloads","issues_url":"https://api.github.com/repos/openlattice/shuttle/issues{/number}","pulls_url":"https://api.github.com/repos/openlattice/shuttle/pulls{/number}","milestones_url":"https://api.github.com/repos/openlattice/shuttle/milestones{/number}","notifications_url":"https://api.github.com/repos/openlattice/shuttle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openlattice/shuttle/labels{/name}","releases_url":"https://api.github.com/repos/openlattice/shuttle/releases{/id}","deployments_url":"https://api.github.com/repos/openlattice/shuttle/deployments","created_at":"2017-08-07T17:16:38Z","updated_at":"2018-08-02T18:14:01Z","pushed_at":"2018-08-07T17:55:36Z","git_url":"git://github.com/openlattice/shuttle.git","ssh_url":"git@github.com:openlattice/shuttle.git","clone_url":"https://github.com/openlattice/shuttle.git","svn_url":"https://github.com/openlattice/shuttle","homepage":null,"size":381,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"base":{"label":"openlattice:develop","ref":"develop","sha":"6ba4f4d88ef17045f0cfe567f4818f87611e7982","user":{"login":"openlattice","id":29369438,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzY5NDM4","avatar_url":"https://avatars0.githubusercontent.com/u/29369438?v=4","gravatar_id":"","url":"https://api.github.com/users/openlattice","html_url":"https://github.com/openlattice","followers_url":"https://api.github.com/users/openlattice/followers","following_url":"https://api.github.com/users/openlattice/following{/other_user}","gists_url":"https://api.github.com/users/openlattice/gists{/gist_id}","starred_url":"https://api.github.com/users/openlattice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openlattice/subscriptions","organizations_url":"https://api.github.com/users/openlattice/orgs","repos_url":"https://api.github.com/users/openlattice/repos","events_url":"https://api.github.com/users/openlattice/events{/privacy}","received_events_url":"https://api.github.com/users/openlattice/received_events","type":"Organization","site_admin":false},"repo":{"id":99601918,"node_id":"MDEwOlJlcG9zaXRvcnk5OTYwMTkxOA==","name":"shuttle","full_name":"openlattice/shuttle","owner":{"login":"openlattice","id":29369438,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzY5NDM4","avatar_url":"https://avatars0.githubusercontent.com/u/29369438?v=4","gravatar_id":"","url":"https://api.github.com/users/openlattice","html_url":"https://github.com/openlattice","followers_url":"https://api.github.com/users/openlattice/followers","following_url":"https://api.github.com/users/openlattice/following{/other_user}","gists_url":"https://api.github.com/users/openlattice/gists{/gist_id}","starred_url":"https://api.github.com/users/openlattice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openlattice/subscriptions","organizations_url":"https://api.github.com/users/openlattice/orgs","repos_url":"https://api.github.com/users/openlattice/repos","events_url":"https://api.github.com/users/openlattice/events{/privacy}","received_events_url":"https://api.github.com/users/openlattice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openlattice/shuttle","description":"Continuous Data Integration Agent","fork":false,"url":"https://api.github.com/repos/openlattice/shuttle","forks_url":"https://api.github.com/repos/openlattice/shuttle/forks","keys_url":"https://api.github.com/repos/openlattice/shuttle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openlattice/shuttle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openlattice/shuttle/teams","hooks_url":"https://api.github.com/repos/openlattice/shuttle/hooks","issue_events_url":"https://api.github.com/repos/openlattice/shuttle/issues/events{/number}","events_url":"https://api.github.com/repos/openlattice/shuttle/events","assignees_url":"https://api.github.com/repos/openlattice/shuttle/assignees{/user}","branches_url":"https://api.github.com/repos/openlattice/shuttle/branches{/branch}","tags_url":"https://api.github.com/repos/openlattice/shuttle/tags","blobs_url":"https://api.github.com/repos/openlattice/shuttle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openlattice/shuttle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openlattice/shuttle/git/refs{/sha}","trees_url":"https://api.github.com/repos/openlattice/shuttle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openlattice/shuttle/statuses/{sha}","languages_url":"https://api.github.com/repos/openlattice/shuttle/languages","stargazers_url":"https://api.github.com/repos/openlattice/shuttle/stargazers","contributors_url":"https://api.github.com/repos/openlattice/shuttle/contributors","subscribers_url":"https://api.github.com/repos/openlattice/shuttle/subscribers","subscription_url":"https://api.github.com/repos/openlattice/shuttle/subscription","commits_url":"https://api.github.com/repos/openlattice/shuttle/commits{/sha}","git_commits_url":"https://api.github.com/repos/openlattice/shuttle/git/commits{/sha}","comments_url":"https://api.github.com/repos/openlattice/shuttle/comments{/number}","issue_comment_url":"https://api.github.com/repos/openlattice/shuttle/issues/comments{/number}","contents_url":"https://api.github.com/repos/openlattice/shuttle/contents/{+path}","compare_url":"https://api.github.com/repos/openlattice/shuttle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openlattice/shuttle/merges","archive_url":"https://api.github.com/repos/openlattice/shuttle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openlattice/shuttle/downloads","issues_url":"https://api.github.com/repos/openlattice/shuttle/issues{/number}","pulls_url":"https://api.github.com/repos/openlattice/shuttle/pulls{/number}","milestones_url":"https://api.github.com/repos/openlattice/shuttle/milestones{/number}","notifications_url":"https://api.github.com/repos/openlattice/shuttle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openlattice/shuttle/labels{/name}","releases_url":"https://api.github.com/repos/openlattice/shuttle/releases{/id}","deployments_url":"https://api.github.com/repos/openlattice/shuttle/deployments","created_at":"2017-08-07T17:16:38Z","updated_at":"2018-08-02T18:14:01Z","pushed_at":"2018-08-07T17:55:36Z","git_url":"git://github.com/openlattice/shuttle.git","ssh_url":"git@github.com:openlattice/shuttle.git","clone_url":"https://github.com/openlattice/shuttle.git","svn_url":"https://github.com/openlattice/shuttle","homepage":null,"size":381,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openlattice/shuttle/pulls/33"},"html":{"href":"https://github.com/openlattice/shuttle/pull/33"},"issue":{"href":"https://api.github.com/repos/openlattice/shuttle/issues/33"},"comments":{"href":"https://api.github.com/repos/openlattice/shuttle/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/openlattice/shuttle/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/openlattice/shuttle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openlattice/shuttle/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/openlattice/shuttle/statuses/dce476164fca31072a1529752bc298b78b59ae95"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"katherinebernstein"}}