{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/comments/31909590","id":31909590,"diff_hunk":"@@ -85,9 +85,8 @@ public String run(@Nonnull EnvVars launchEnv, @Nonnull String image, @CheckForNu\n         ArgumentListBuilder argb = new ArgumentListBuilder();\n \n         argb.add(\"run\", \"-t\", \"-d\", \"-u\", user);\n-        if (argb != null) {\n-            argb.addTokenized(args);\n-        }\n+        argb.addTokenized(args);","path":"src/main/java/org/jenkinsci/plugins/docker/workflow/client/DockerClient.java","position":7,"original_position":7,"commit_id":"0906caafa1a72bcb1e4e2466f15f1e098855001e","original_commit_id":"0906caafa1a72bcb1e4e2466f15f1e098855001e","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"body":"Crap, it frequently happens with similar vars. I'll fix the code ","created_at":"2015-06-08T12:41:39Z","updated_at":"2015-06-08T12:41:39Z","html_url":"https://github.com/jenkinsci/docker-workflow-plugin/pull/4#discussion_r31909590","pull_request_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/comments/31909590"},"html":{"href":"https://github.com/jenkinsci/docker-workflow-plugin/pull/4#discussion_r31909590"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/4","id":37064445,"html_url":"https://github.com/jenkinsci/docker-workflow-plugin/pull/4","diff_url":"https://github.com/jenkinsci/docker-workflow-plugin/pull/4.diff","patch_url":"https://github.com/jenkinsci/docker-workflow-plugin/pull/4.patch","issue_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/issues/4","number":4,"state":"open","locked":false,"title":"FindBugs: Cleanup null checks and serialVersionUIDs","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"body":"Main change - prevent NPEs on **docker inspect** call errors\r\n\r\n@reviewbybees @jglick ","created_at":"2015-06-05T19:55:51Z","updated_at":"2015-06-08T12:41:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f107117da2388c26e43f70f3188e3e81e9519f5e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/4/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/4/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/issues/4/comments","statuses_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/statuses/0906caafa1a72bcb1e4e2466f15f1e098855001e","head":{"label":"oleg-nenashev:findbugs-cleanup","ref":"findbugs-cleanup","sha":"0906caafa1a72bcb1e4e2466f15f1e098855001e","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"repo":{"id":36952449,"name":"docker-workflow-plugin","full_name":"oleg-nenashev/docker-workflow-plugin","owner":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oleg-nenashev/docker-workflow-plugin","description":"","fork":true,"url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin","forks_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/forks","keys_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/teams","hooks_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/hooks","issue_events_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/events","assignees_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/tags","blobs_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/languages","stargazers_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/stargazers","contributors_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/contributors","subscribers_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/subscribers","subscription_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/subscription","commits_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/merges","archive_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/downloads","issues_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/labels{/name}","releases_url":"https://api.github.com/repos/oleg-nenashev/docker-workflow-plugin/releases{/id}","created_at":"2015-06-05T19:54:23Z","updated_at":"2015-06-05T19:54:23Z","pushed_at":"2015-06-08T10:23:01Z","git_url":"git://github.com/oleg-nenashev/docker-workflow-plugin.git","ssh_url":"git@github.com:oleg-nenashev/docker-workflow-plugin.git","clone_url":"https://github.com/oleg-nenashev/docker-workflow-plugin.git","svn_url":"https://github.com/oleg-nenashev/docker-workflow-plugin","homepage":"","size":180,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jenkinsci:master","ref":"master","sha":"e518892f19241b8270749107520b0dfb3f00b8a7","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":36385785,"name":"docker-workflow-plugin","full_name":"jenkinsci/docker-workflow-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/docker-workflow-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin","forks_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/releases{/id}","created_at":"2015-05-27T18:02:51Z","updated_at":"2015-06-05T19:54:32Z","pushed_at":"2015-06-08T10:23:57Z","git_url":"git://github.com/jenkinsci/docker-workflow-plugin.git","ssh_url":"git@github.com:jenkinsci/docker-workflow-plugin.git","clone_url":"https://github.com/jenkinsci/docker-workflow-plugin.git","svn_url":"https://github.com/jenkinsci/docker-workflow-plugin","homepage":"","size":180,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/4"},"html":{"href":"https://github.com/jenkinsci/docker-workflow-plugin/pull/4"},"issue":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/issues/4"},"comments":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/docker-workflow-plugin/statuses/0906caafa1a72bcb1e4e2466f15f1e098855001e"}}}}