{"action":"closed","number":10987,"pull_request":{"url":"https://api.github.com/repos/wildfly/wildfly/pulls/10987","id":173659399,"html_url":"https://github.com/wildfly/wildfly/pull/10987","diff_url":"https://github.com/wildfly/wildfly/pull/10987.diff","patch_url":"https://github.com/wildfly/wildfly/pull/10987.patch","issue_url":"https://api.github.com/repos/wildfly/wildfly/issues/10987","number":10987,"state":"closed","locked":false,"title":"[WFLY-9967] Deletes directory recursively.","user":{"login":"soul2zimate","id":1904517,"avatar_url":"https://avatars1.githubusercontent.com/u/1904517?v=4","gravatar_id":"","url":"https://api.github.com/users/soul2zimate","html_url":"https://github.com/soul2zimate","followers_url":"https://api.github.com/users/soul2zimate/followers","following_url":"https://api.github.com/users/soul2zimate/following{/other_user}","gists_url":"https://api.github.com/users/soul2zimate/gists{/gist_id}","starred_url":"https://api.github.com/users/soul2zimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soul2zimate/subscriptions","organizations_url":"https://api.github.com/users/soul2zimate/orgs","repos_url":"https://api.github.com/users/soul2zimate/repos","events_url":"https://api.github.com/users/soul2zimate/events{/privacy}","received_events_url":"https://api.github.com/users/soul2zimate/received_events","type":"User","site_admin":false},"body":"https://issues.jboss.org/browse/WFLY-9967 Deletes directory recursively.\r\n\r\nThis happens due to commit change in https://github.com/wildfly/wildfly/pull/10689/files?diff=unified#diff-67008a28eac0ddfad0a78eec3537155dL167\r\n```\r\n-        File layerDir = new File(layersDir, layer);\r\n-        if (layerDir.exists()) {\r\n-            FileUtils.deleteDirectory(layerDir);\r\n-        }\r\n+        Path layerDir = layersDir.resolve(layer);\r\n+        Files.deleteIfExists(layerDir);\r\n```\r\nwhich throws  DirectoryNotEmptyException if the file is a directory and could not otherwise be deleted because the directory is not empty","created_at":"2018-03-08T06:56:47Z","updated_at":"2018-03-08T23:21:13Z","closed_at":"2018-03-08T23:21:13Z","merged_at":"2018-03-08T23:21:13Z","merge_commit_sha":"bcc6211d1abd3c74bacabe72d6cb3a6203cd2ffb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wildfly/wildfly/pulls/10987/commits","review_comments_url":"https://api.github.com/repos/wildfly/wildfly/pulls/10987/comments","review_comment_url":"https://api.github.com/repos/wildfly/wildfly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wildfly/wildfly/issues/10987/comments","statuses_url":"https://api.github.com/repos/wildfly/wildfly/statuses/d8de24aa5e4ec95aa5a1f07c5e59826129b24fce","head":{"label":"soul2zimate:WFLY-9967","ref":"WFLY-9967","sha":"d8de24aa5e4ec95aa5a1f07c5e59826129b24fce","user":{"login":"soul2zimate","id":1904517,"avatar_url":"https://avatars1.githubusercontent.com/u/1904517?v=4","gravatar_id":"","url":"https://api.github.com/users/soul2zimate","html_url":"https://github.com/soul2zimate","followers_url":"https://api.github.com/users/soul2zimate/followers","following_url":"https://api.github.com/users/soul2zimate/following{/other_user}","gists_url":"https://api.github.com/users/soul2zimate/gists{/gist_id}","starred_url":"https://api.github.com/users/soul2zimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soul2zimate/subscriptions","organizations_url":"https://api.github.com/users/soul2zimate/orgs","repos_url":"https://api.github.com/users/soul2zimate/repos","events_url":"https://api.github.com/users/soul2zimate/events{/privacy}","received_events_url":"https://api.github.com/users/soul2zimate/received_events","type":"User","site_admin":false},"repo":{"id":4827840,"name":"wildfly","full_name":"soul2zimate/wildfly","owner":{"login":"soul2zimate","id":1904517,"avatar_url":"https://avatars1.githubusercontent.com/u/1904517?v=4","gravatar_id":"","url":"https://api.github.com/users/soul2zimate","html_url":"https://github.com/soul2zimate","followers_url":"https://api.github.com/users/soul2zimate/followers","following_url":"https://api.github.com/users/soul2zimate/following{/other_user}","gists_url":"https://api.github.com/users/soul2zimate/gists{/gist_id}","starred_url":"https://api.github.com/users/soul2zimate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soul2zimate/subscriptions","organizations_url":"https://api.github.com/users/soul2zimate/orgs","repos_url":"https://api.github.com/users/soul2zimate/repos","events_url":"https://api.github.com/users/soul2zimate/events{/privacy}","received_events_url":"https://api.github.com/users/soul2zimate/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soul2zimate/wildfly","description":"JBoss Application Server","fork":true,"url":"https://api.github.com/repos/soul2zimate/wildfly","forks_url":"https://api.github.com/repos/soul2zimate/wildfly/forks","keys_url":"https://api.github.com/repos/soul2zimate/wildfly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soul2zimate/wildfly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soul2zimate/wildfly/teams","hooks_url":"https://api.github.com/repos/soul2zimate/wildfly/hooks","issue_events_url":"https://api.github.com/repos/soul2zimate/wildfly/issues/events{/number}","events_url":"https://api.github.com/repos/soul2zimate/wildfly/events","assignees_url":"https://api.github.com/repos/soul2zimate/wildfly/assignees{/user}","branches_url":"https://api.github.com/repos/soul2zimate/wildfly/branches{/branch}","tags_url":"https://api.github.com/repos/soul2zimate/wildfly/tags","blobs_url":"https://api.github.com/repos/soul2zimate/wildfly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soul2zimate/wildfly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soul2zimate/wildfly/git/refs{/sha}","trees_url":"https://api.github.com/repos/soul2zimate/wildfly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soul2zimate/wildfly/statuses/{sha}","languages_url":"https://api.github.com/repos/soul2zimate/wildfly/languages","stargazers_url":"https://api.github.com/repos/soul2zimate/wildfly/stargazers","contributors_url":"https://api.github.com/repos/soul2zimate/wildfly/contributors","subscribers_url":"https://api.github.com/repos/soul2zimate/wildfly/subscribers","subscription_url":"https://api.github.com/repos/soul2zimate/wildfly/subscription","commits_url":"https://api.github.com/repos/soul2zimate/wildfly/commits{/sha}","git_commits_url":"https://api.github.com/repos/soul2zimate/wildfly/git/commits{/sha}","comments_url":"https://api.github.com/repos/soul2zimate/wildfly/comments{/number}","issue_comment_url":"https://api.github.com/repos/soul2zimate/wildfly/issues/comments{/number}","contents_url":"https://api.github.com/repos/soul2zimate/wildfly/contents/{+path}","compare_url":"https://api.github.com/repos/soul2zimate/wildfly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soul2zimate/wildfly/merges","archive_url":"https://api.github.com/repos/soul2zimate/wildfly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soul2zimate/wildfly/downloads","issues_url":"https://api.github.com/repos/soul2zimate/wildfly/issues{/number}","pulls_url":"https://api.github.com/repos/soul2zimate/wildfly/pulls{/number}","milestones_url":"https://api.github.com/repos/soul2zimate/wildfly/milestones{/number}","notifications_url":"https://api.github.com/repos/soul2zimate/wildfly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soul2zimate/wildfly/labels{/name}","releases_url":"https://api.github.com/repos/soul2zimate/wildfly/releases{/id}","deployments_url":"https://api.github.com/repos/soul2zimate/wildfly/deployments","created_at":"2012-06-29T02:04:41Z","updated_at":"2017-08-03T06:27:58Z","pushed_at":"2018-03-08T06:39:12Z","git_url":"git://github.com/soul2zimate/wildfly.git","ssh_url":"git@github.com:soul2zimate/wildfly.git","clone_url":"https://github.com/soul2zimate/wildfly.git","svn_url":"https://github.com/soul2zimate/wildfly","homepage":"","size":179359,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wildfly:master","ref":"master","sha":"079ee79a46128fdc990bab838784d1bbb95d6225","user":{"login":"wildfly","id":3066274,"avatar_url":"https://avatars2.githubusercontent.com/u/3066274?v=4","gravatar_id":"","url":"https://api.github.com/users/wildfly","html_url":"https://github.com/wildfly","followers_url":"https://api.github.com/users/wildfly/followers","following_url":"https://api.github.com/users/wildfly/following{/other_user}","gists_url":"https://api.github.com/users/wildfly/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly/subscriptions","organizations_url":"https://api.github.com/users/wildfly/orgs","repos_url":"https://api.github.com/users/wildfly/repos","events_url":"https://api.github.com/users/wildfly/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly/received_events","type":"Organization","site_admin":false},"repo":{"id":764708,"name":"wildfly","full_name":"wildfly/wildfly","owner":{"login":"wildfly","id":3066274,"avatar_url":"https://avatars2.githubusercontent.com/u/3066274?v=4","gravatar_id":"","url":"https://api.github.com/users/wildfly","html_url":"https://github.com/wildfly","followers_url":"https://api.github.com/users/wildfly/followers","following_url":"https://api.github.com/users/wildfly/following{/other_user}","gists_url":"https://api.github.com/users/wildfly/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly/subscriptions","organizations_url":"https://api.github.com/users/wildfly/orgs","repos_url":"https://api.github.com/users/wildfly/repos","events_url":"https://api.github.com/users/wildfly/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wildfly/wildfly","description":"WildFly Application Server","fork":false,"url":"https://api.github.com/repos/wildfly/wildfly","forks_url":"https://api.github.com/repos/wildfly/wildfly/forks","keys_url":"https://api.github.com/repos/wildfly/wildfly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wildfly/wildfly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wildfly/wildfly/teams","hooks_url":"https://api.github.com/repos/wildfly/wildfly/hooks","issue_events_url":"https://api.github.com/repos/wildfly/wildfly/issues/events{/number}","events_url":"https://api.github.com/repos/wildfly/wildfly/events","assignees_url":"https://api.github.com/repos/wildfly/wildfly/assignees{/user}","branches_url":"https://api.github.com/repos/wildfly/wildfly/branches{/branch}","tags_url":"https://api.github.com/repos/wildfly/wildfly/tags","blobs_url":"https://api.github.com/repos/wildfly/wildfly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wildfly/wildfly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wildfly/wildfly/git/refs{/sha}","trees_url":"https://api.github.com/repos/wildfly/wildfly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wildfly/wildfly/statuses/{sha}","languages_url":"https://api.github.com/repos/wildfly/wildfly/languages","stargazers_url":"https://api.github.com/repos/wildfly/wildfly/stargazers","contributors_url":"https://api.github.com/repos/wildfly/wildfly/contributors","subscribers_url":"https://api.github.com/repos/wildfly/wildfly/subscribers","subscription_url":"https://api.github.com/repos/wildfly/wildfly/subscription","commits_url":"https://api.github.com/repos/wildfly/wildfly/commits{/sha}","git_commits_url":"https://api.github.com/repos/wildfly/wildfly/git/commits{/sha}","comments_url":"https://api.github.com/repos/wildfly/wildfly/comments{/number}","issue_comment_url":"https://api.github.com/repos/wildfly/wildfly/issues/comments{/number}","contents_url":"https://api.github.com/repos/wildfly/wildfly/contents/{+path}","compare_url":"https://api.github.com/repos/wildfly/wildfly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wildfly/wildfly/merges","archive_url":"https://api.github.com/repos/wildfly/wildfly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wildfly/wildfly/downloads","issues_url":"https://api.github.com/repos/wildfly/wildfly/issues{/number}","pulls_url":"https://api.github.com/repos/wildfly/wildfly/pulls{/number}","milestones_url":"https://api.github.com/repos/wildfly/wildfly/milestones{/number}","notifications_url":"https://api.github.com/repos/wildfly/wildfly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wildfly/wildfly/labels{/name}","releases_url":"https://api.github.com/repos/wildfly/wildfly/releases{/id}","deployments_url":"https://api.github.com/repos/wildfly/wildfly/deployments","created_at":"2010-07-08T20:46:07Z","updated_at":"2018-03-08T13:27:25Z","pushed_at":"2018-03-08T23:21:13Z","git_url":"git://github.com/wildfly/wildfly.git","ssh_url":"git@github.com:wildfly/wildfly.git","clone_url":"https://github.com/wildfly/wildfly.git","svn_url":"https://github.com/wildfly/wildfly","homepage":"http://wildfly.org","size":181712,"stargazers_count":1960,"watchers_count":1960,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1777,"mirror_url":null,"archived":false,"open_issues_count":35,"license":{"key":"lgpl-2.1","name":"GNU Lesser General Public License v2.1","spdx_id":"LGPL-2.1","url":"https://api.github.com/licenses/lgpl-2.1"},"forks":1777,"open_issues":35,"watchers":1960,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wildfly/wildfly/pulls/10987"},"html":{"href":"https://github.com/wildfly/wildfly/pull/10987"},"issue":{"href":"https://api.github.com/repos/wildfly/wildfly/issues/10987"},"comments":{"href":"https://api.github.com/repos/wildfly/wildfly/issues/10987/comments"},"review_comments":{"href":"https://api.github.com/repos/wildfly/wildfly/pulls/10987/comments"},"review_comment":{"href":"https://api.github.com/repos/wildfly/wildfly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wildfly/wildfly/pulls/10987/commits"},"statuses":{"href":"https://api.github.com/repos/wildfly/wildfly/statuses/d8de24aa5e4ec95aa5a1f07c5e59826129b24fce"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"stuartwdouglas","id":328571,"avatar_url":"https://avatars0.githubusercontent.com/u/328571?v=4","gravatar_id":"","url":"https://api.github.com/users/stuartwdouglas","html_url":"https://github.com/stuartwdouglas","followers_url":"https://api.github.com/users/stuartwdouglas/followers","following_url":"https://api.github.com/users/stuartwdouglas/following{/other_user}","gists_url":"https://api.github.com/users/stuartwdouglas/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartwdouglas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartwdouglas/subscriptions","organizations_url":"https://api.github.com/users/stuartwdouglas/orgs","repos_url":"https://api.github.com/users/stuartwdouglas/repos","events_url":"https://api.github.com/users/stuartwdouglas/events{/privacy}","received_events_url":"https://api.github.com/users/stuartwdouglas/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":6,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"stuartwdouglas"}}