{"action":"created","comment":{"url":"https://api.github.com/repos/hcoles/pitest/pulls/comments/31014764","id":31014764,"diff_hunk":"@@ -0,0 +1,61 @@\n+/*\n+ * Copyright 2015 Jason Fehr\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing,\n+ * software distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and limitations under the License.\n+ */\n+package org.pitest.support;\n+\n+import java.io.File;\n+import java.io.IOException;\n+import java.util.Collection;\n+import java.util.LinkedList;\n+import java.util.List;\n+\n+import org.apache.commons.io.DirectoryWalker;\n+import org.apache.commons.io.filefilter.FileFilterUtils;\n+\n+/**\n+ * Builds a list of all directories contained within a provided directory.  The starting directory is also contained \n+ * within the list of directories. <br /><br />\n+ * \n+ * <code>\n+ * DirectoriesOnlyWalker walker = new DirectoriesOnlyWalker(); <br />\n+ * List<File> directories = walker.locateDirectories(someDirectory);\n+ * </code>\n+ */\n+public class DirectoriesOnlyWalker extends DirectoryWalker {\n+\n+    public DirectoriesOnlyWalker() {\n+        super(FileFilterUtils.directoryFileFilter(), -1);\n+    }\n+    \n+    public List<File> locateDirectories(File startDir) {\n+        List<File> foundDirs = new LinkedList<File>();","path":"pitest-maven-verification/src/test/java/org/pitest/support/DirectoriesOnlyWalker.java","position":42,"original_position":42,"commit_id":"a2da1119261f1b0545961cd2bb29d7825a13f504","original_commit_id":"a2da1119261f1b0545961cd2bb29d7825a13f504","user":{"login":"fge","id":550006,"avatar_url":"https://avatars.githubusercontent.com/u/550006?v=3","gravatar_id":"","url":"https://api.github.com/users/fge","html_url":"https://github.com/fge","followers_url":"https://api.github.com/users/fge/followers","following_url":"https://api.github.com/users/fge/following{/other_user}","gists_url":"https://api.github.com/users/fge/gists{/gist_id}","starred_url":"https://api.github.com/users/fge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fge/subscriptions","organizations_url":"https://api.github.com/users/fge/orgs","repos_url":"https://api.github.com/users/fge/repos","events_url":"https://api.github.com/users/fge/events{/privacy}","received_events_url":"https://api.github.com/users/fge/received_events","type":"User","site_admin":false},"body":"Why a `LinkedList` and not an `ArrayList`?","created_at":"2015-05-26T08:50:29Z","updated_at":"2015-05-26T08:50:29Z","html_url":"https://github.com/hcoles/pitest/pull/208#discussion_r31014764","pull_request_url":"https://api.github.com/repos/hcoles/pitest/pulls/208","_links":{"self":{"href":"https://api.github.com/repos/hcoles/pitest/pulls/comments/31014764"},"html":{"href":"https://github.com/hcoles/pitest/pull/208#discussion_r31014764"},"pull_request":{"href":"https://api.github.com/repos/hcoles/pitest/pulls/208"}}},"pull_request":{"url":"https://api.github.com/repos/hcoles/pitest/pulls/208","id":36163489,"html_url":"https://github.com/hcoles/pitest/pull/208","diff_url":"https://github.com/hcoles/pitest/pull/208.diff","patch_url":"https://github.com/hcoles/pitest/pull/208.patch","issue_url":"https://api.github.com/repos/hcoles/pitest/issues/208","number":208,"state":"open","locked":false,"title":"Fix slow report mojo tests","user":{"login":"jasonmfehr","id":1505392,"avatar_url":"https://avatars.githubusercontent.com/u/1505392?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmfehr","html_url":"https://github.com/jasonmfehr","followers_url":"https://api.github.com/users/jasonmfehr/followers","following_url":"https://api.github.com/users/jasonmfehr/following{/other_user}","gists_url":"https://api.github.com/users/jasonmfehr/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmfehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmfehr/subscriptions","organizations_url":"https://api.github.com/users/jasonmfehr/orgs","repos_url":"https://api.github.com/users/jasonmfehr/repos","events_url":"https://api.github.com/users/jasonmfehr/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmfehr/received_events","type":"User","site_admin":false},"body":"Fixed the slow running integration tests of the reporting mojo in PitMojoIT.  The fix is to set up the test as if a mvn clean install had been executed.  Then, only the site goal is executed.","created_at":"2015-05-26T01:12:18Z","updated_at":"2015-05-26T08:50:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ce36a80e6424cc23d3f81536b7d4da4da3716d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hcoles/pitest/pulls/208/commits","review_comments_url":"https://api.github.com/repos/hcoles/pitest/pulls/208/comments","review_comment_url":"https://api.github.com/repos/hcoles/pitest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hcoles/pitest/issues/208/comments","statuses_url":"https://api.github.com/repos/hcoles/pitest/statuses/a2da1119261f1b0545961cd2bb29d7825a13f504","head":{"label":"jasonmfehr:fix-slow-report-mojo-tests","ref":"fix-slow-report-mojo-tests","sha":"a2da1119261f1b0545961cd2bb29d7825a13f504","user":{"login":"jasonmfehr","id":1505392,"avatar_url":"https://avatars.githubusercontent.com/u/1505392?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmfehr","html_url":"https://github.com/jasonmfehr","followers_url":"https://api.github.com/users/jasonmfehr/followers","following_url":"https://api.github.com/users/jasonmfehr/following{/other_user}","gists_url":"https://api.github.com/users/jasonmfehr/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmfehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmfehr/subscriptions","organizations_url":"https://api.github.com/users/jasonmfehr/orgs","repos_url":"https://api.github.com/users/jasonmfehr/repos","events_url":"https://api.github.com/users/jasonmfehr/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmfehr/received_events","type":"User","site_admin":false},"repo":{"id":31449747,"name":"pitest","full_name":"jasonmfehr/pitest","owner":{"login":"jasonmfehr","id":1505392,"avatar_url":"https://avatars.githubusercontent.com/u/1505392?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonmfehr","html_url":"https://github.com/jasonmfehr","followers_url":"https://api.github.com/users/jasonmfehr/followers","following_url":"https://api.github.com/users/jasonmfehr/following{/other_user}","gists_url":"https://api.github.com/users/jasonmfehr/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonmfehr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonmfehr/subscriptions","organizations_url":"https://api.github.com/users/jasonmfehr/orgs","repos_url":"https://api.github.com/users/jasonmfehr/repos","events_url":"https://api.github.com/users/jasonmfehr/events{/privacy}","received_events_url":"https://api.github.com/users/jasonmfehr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jasonmfehr/pitest","description":"State of the art mutation testing system for the JVM","fork":true,"url":"https://api.github.com/repos/jasonmfehr/pitest","forks_url":"https://api.github.com/repos/jasonmfehr/pitest/forks","keys_url":"https://api.github.com/repos/jasonmfehr/pitest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jasonmfehr/pitest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jasonmfehr/pitest/teams","hooks_url":"https://api.github.com/repos/jasonmfehr/pitest/hooks","issue_events_url":"https://api.github.com/repos/jasonmfehr/pitest/issues/events{/number}","events_url":"https://api.github.com/repos/jasonmfehr/pitest/events","assignees_url":"https://api.github.com/repos/jasonmfehr/pitest/assignees{/user}","branches_url":"https://api.github.com/repos/jasonmfehr/pitest/branches{/branch}","tags_url":"https://api.github.com/repos/jasonmfehr/pitest/tags","blobs_url":"https://api.github.com/repos/jasonmfehr/pitest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jasonmfehr/pitest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jasonmfehr/pitest/git/refs{/sha}","trees_url":"https://api.github.com/repos/jasonmfehr/pitest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jasonmfehr/pitest/statuses/{sha}","languages_url":"https://api.github.com/repos/jasonmfehr/pitest/languages","stargazers_url":"https://api.github.com/repos/jasonmfehr/pitest/stargazers","contributors_url":"https://api.github.com/repos/jasonmfehr/pitest/contributors","subscribers_url":"https://api.github.com/repos/jasonmfehr/pitest/subscribers","subscription_url":"https://api.github.com/repos/jasonmfehr/pitest/subscription","commits_url":"https://api.github.com/repos/jasonmfehr/pitest/commits{/sha}","git_commits_url":"https://api.github.com/repos/jasonmfehr/pitest/git/commits{/sha}","comments_url":"https://api.github.com/repos/jasonmfehr/pitest/comments{/number}","issue_comment_url":"https://api.github.com/repos/jasonmfehr/pitest/issues/comments{/number}","contents_url":"https://api.github.com/repos/jasonmfehr/pitest/contents/{+path}","compare_url":"https://api.github.com/repos/jasonmfehr/pitest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jasonmfehr/pitest/merges","archive_url":"https://api.github.com/repos/jasonmfehr/pitest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jasonmfehr/pitest/downloads","issues_url":"https://api.github.com/repos/jasonmfehr/pitest/issues{/number}","pulls_url":"https://api.github.com/repos/jasonmfehr/pitest/pulls{/number}","milestones_url":"https://api.github.com/repos/jasonmfehr/pitest/milestones{/number}","notifications_url":"https://api.github.com/repos/jasonmfehr/pitest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jasonmfehr/pitest/labels{/name}","releases_url":"https://api.github.com/repos/jasonmfehr/pitest/releases{/id}","created_at":"2015-02-28T03:36:28Z","updated_at":"2015-04-29T00:48:10Z","pushed_at":"2015-05-25T20:11:36Z","git_url":"git://github.com/jasonmfehr/pitest.git","ssh_url":"git@github.com:jasonmfehr/pitest.git","clone_url":"https://github.com/jasonmfehr/pitest.git","svn_url":"https://github.com/jasonmfehr/pitest","homepage":null,"size":10555,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"hcoles:master","ref":"master","sha":"b6d4cc0a9969bca487957eae7dde1a1de7e95161","user":{"login":"hcoles","id":1891135,"avatar_url":"https://avatars.githubusercontent.com/u/1891135?v=3","gravatar_id":"","url":"https://api.github.com/users/hcoles","html_url":"https://github.com/hcoles","followers_url":"https://api.github.com/users/hcoles/followers","following_url":"https://api.github.com/users/hcoles/following{/other_user}","gists_url":"https://api.github.com/users/hcoles/gists{/gist_id}","starred_url":"https://api.github.com/users/hcoles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcoles/subscriptions","organizations_url":"https://api.github.com/users/hcoles/orgs","repos_url":"https://api.github.com/users/hcoles/repos","events_url":"https://api.github.com/users/hcoles/events{/privacy}","received_events_url":"https://api.github.com/users/hcoles/received_events","type":"User","site_admin":false},"repo":{"id":15717393,"name":"pitest","full_name":"hcoles/pitest","owner":{"login":"hcoles","id":1891135,"avatar_url":"https://avatars.githubusercontent.com/u/1891135?v=3","gravatar_id":"","url":"https://api.github.com/users/hcoles","html_url":"https://github.com/hcoles","followers_url":"https://api.github.com/users/hcoles/followers","following_url":"https://api.github.com/users/hcoles/following{/other_user}","gists_url":"https://api.github.com/users/hcoles/gists{/gist_id}","starred_url":"https://api.github.com/users/hcoles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcoles/subscriptions","organizations_url":"https://api.github.com/users/hcoles/orgs","repos_url":"https://api.github.com/users/hcoles/repos","events_url":"https://api.github.com/users/hcoles/events{/privacy}","received_events_url":"https://api.github.com/users/hcoles/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hcoles/pitest","description":"State of the art mutation testing system for the JVM","fork":false,"url":"https://api.github.com/repos/hcoles/pitest","forks_url":"https://api.github.com/repos/hcoles/pitest/forks","keys_url":"https://api.github.com/repos/hcoles/pitest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hcoles/pitest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hcoles/pitest/teams","hooks_url":"https://api.github.com/repos/hcoles/pitest/hooks","issue_events_url":"https://api.github.com/repos/hcoles/pitest/issues/events{/number}","events_url":"https://api.github.com/repos/hcoles/pitest/events","assignees_url":"https://api.github.com/repos/hcoles/pitest/assignees{/user}","branches_url":"https://api.github.com/repos/hcoles/pitest/branches{/branch}","tags_url":"https://api.github.com/repos/hcoles/pitest/tags","blobs_url":"https://api.github.com/repos/hcoles/pitest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hcoles/pitest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hcoles/pitest/git/refs{/sha}","trees_url":"https://api.github.com/repos/hcoles/pitest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hcoles/pitest/statuses/{sha}","languages_url":"https://api.github.com/repos/hcoles/pitest/languages","stargazers_url":"https://api.github.com/repos/hcoles/pitest/stargazers","contributors_url":"https://api.github.com/repos/hcoles/pitest/contributors","subscribers_url":"https://api.github.com/repos/hcoles/pitest/subscribers","subscription_url":"https://api.github.com/repos/hcoles/pitest/subscription","commits_url":"https://api.github.com/repos/hcoles/pitest/commits{/sha}","git_commits_url":"https://api.github.com/repos/hcoles/pitest/git/commits{/sha}","comments_url":"https://api.github.com/repos/hcoles/pitest/comments{/number}","issue_comment_url":"https://api.github.com/repos/hcoles/pitest/issues/comments{/number}","contents_url":"https://api.github.com/repos/hcoles/pitest/contents/{+path}","compare_url":"https://api.github.com/repos/hcoles/pitest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hcoles/pitest/merges","archive_url":"https://api.github.com/repos/hcoles/pitest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hcoles/pitest/downloads","issues_url":"https://api.github.com/repos/hcoles/pitest/issues{/number}","pulls_url":"https://api.github.com/repos/hcoles/pitest/pulls{/number}","milestones_url":"https://api.github.com/repos/hcoles/pitest/milestones{/number}","notifications_url":"https://api.github.com/repos/hcoles/pitest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hcoles/pitest/labels{/name}","releases_url":"https://api.github.com/repos/hcoles/pitest/releases{/id}","created_at":"2014-01-07T21:34:34Z","updated_at":"2015-05-23T22:23:16Z","pushed_at":"2015-05-26T01:12:19Z","git_url":"git://github.com/hcoles/pitest.git","ssh_url":"git@github.com:hcoles/pitest.git","clone_url":"https://github.com/hcoles/pitest.git","svn_url":"https://github.com/hcoles/pitest","homepage":null,"size":12497,"stargazers_count":172,"watchers_count":172,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":56,"forks":50,"open_issues":56,"watchers":172,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hcoles/pitest/pulls/208"},"html":{"href":"https://github.com/hcoles/pitest/pull/208"},"issue":{"href":"https://api.github.com/repos/hcoles/pitest/issues/208"},"comments":{"href":"https://api.github.com/repos/hcoles/pitest/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/hcoles/pitest/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/hcoles/pitest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hcoles/pitest/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/hcoles/pitest/statuses/a2da1119261f1b0545961cd2bb29d7825a13f504"}}}}