{"action":"created","comment":{"url":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/comments/177747306","pull_request_review_id":107663916,"id":177747306,"diff_hunk":"@@ -57,36 +61,36 @@\n  */\n class ValidateWorker extends SwingWorker<BatchSummary, Integer> {\n \n-\tprivate static final Logger logger = Logger.getLogger(ValidateWorker.class.getCanonicalName());\n-\n-\tprivate static final String ERROR_IN_OPEN_STREAMS = \"Can't open stream from PDF file or can't open stream to temporary XML report file\"; //$NON-NLS-1$\n-\tprivate static final String ERROR_IN_PROCESSING = \"Error during the processing\"; //$NON-NLS-1$\n-\tprivate static final String ERROR_IN_CREATING_TEMP_FILE = \"Can't create temporary file for XML report\"; //$NON-NLS-1$\n-\tprivate static final String ERROR_IN_OBTAINING_POLICY_FEATURES = \"Can't obtain enabled features from policy files\"; //$NON-NLS-1$\n-\n-\tprivate List<File> pdfs;\n-\tprivate ValidationProfile customProfile;\n-\tprivate File policy;\n-\tprivate CheckerPanel parent;\n-\tprivate ConfigManager configManager;\n-\tprivate File xmlReport = null;\n-\tprivate File htmlReport = null;\n-\tprivate BatchSummary batchSummary = null;\n-\n-\tValidateWorker(CheckerPanel parent, List<File> pdfs, ConfigManager configManager, ValidationProfile customProfile,\n-\t\t\tFile policy) {\n-\t\tif (pdfs == null) {\n-\t\t\tthrow new IllegalArgumentException(\"List of pdf files can not be null\"); //$NON-NLS-1$\n-\t\t}\n-\t\tthis.parent = parent;\n-\t\tthis.pdfs = pdfs;\n-\t\tthis.configManager = configManager;\n-\t\tthis.customProfile = customProfile;\n-\t\tthis.policy = policy;\n-\t}\n-\n-\t@Override\n-\tprotected BatchSummary doInBackground() {\n+    private static final Logger logger = Logger.getLogger(ValidateWorker.class.getCanonicalName());\n+\n+    private static final String ERROR_IN_OPEN_STREAMS = \"Can't open stream from PDF file or can't open stream to temporary XML report file\"; //$NON-NLS-1$\n+    private static final String ERROR_IN_PROCESSING = \"Error during the processing\"; //$NON-NLS-1$\n+    private static final String ERROR_IN_CREATING_TEMP_FILE = \"Can't create temporary file for XML report\"; //$NON-NLS-1$\n+    private static final String ERROR_IN_OBTAINING_POLICY_FEATURES = \"Can't obtain enabled features from policy files\"; //$NON-NLS-1$\n+\n+    private List<File> pdfs;\n+    private ValidationProfile customProfile;\n+    private File policy;\n+    private CheckerPanel parent;\n+    private ConfigManager configManager;\n+    private File xmlReport = null;\n+    private File htmlReport = null;\n+    private BatchSummary batchSummary = null;\n+\n+    ValidateWorker(CheckerPanel parent, List<File> pdfs, ConfigManager configManager, ValidationProfile customProfile,\n+                   File policy) {\n+        if (pdfs == null) {\n+            throw new IllegalArgumentException(\"List of pdf files can not be null\"); //$NON-NLS-1$\n+        }\n+        this.parent = parent;\n+        this.pdfs = pdfs;\n+        this.configManager = configManager;\n+        this.customProfile = customProfile;\n+        this.policy = policy;\n+    }\n+\n+    @Override\n+    protected BatchSummary doInBackground() {","path":"gui/src/main/java/org/verapdf/gui/ValidateWorker.java","position":76,"original_position":76,"commit_id":"7418570878786969abc9c656fc2139da31fae18e","original_commit_id":"7418570878786969abc9c656fc2139da31fae18e","user":{"login":"carlwilson","id":440634,"avatar_url":"https://avatars1.githubusercontent.com/u/440634?v=4","gravatar_id":"","url":"https://api.github.com/users/carlwilson","html_url":"https://github.com/carlwilson","followers_url":"https://api.github.com/users/carlwilson/followers","following_url":"https://api.github.com/users/carlwilson/following{/other_user}","gists_url":"https://api.github.com/users/carlwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/carlwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlwilson/subscriptions","organizations_url":"https://api.github.com/users/carlwilson/orgs","repos_url":"https://api.github.com/users/carlwilson/repos","events_url":"https://api.github.com/users/carlwilson/events{/privacy}","received_events_url":"https://api.github.com/users/carlwilson/received_events","type":"User","site_admin":false},"body":"Please replace space indentations with tabs.\r\n\r\n","created_at":"2018-03-28T13:23:44Z","updated_at":"2018-03-28T13:28:22Z","html_url":"https://github.com/veraPDF/veraPDF-apps/pull/242#discussion_r177747306","pull_request_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/242","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/comments/177747306"},"html":{"href":"https://github.com/veraPDF/veraPDF-apps/pull/242#discussion_r177747306"},"pull_request":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/242","id":166778138,"html_url":"https://github.com/veraPDF/veraPDF-apps/pull/242","diff_url":"https://github.com/veraPDF/veraPDF-apps/pull/242.diff","patch_url":"https://github.com/veraPDF/veraPDF-apps/pull/242.patch","issue_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/issues/242","number":242,"state":"open","locked":false,"title":"Multithread cli","user":{"login":"RezviyBelorus","id":19335237,"avatar_url":"https://avatars3.githubusercontent.com/u/19335237?v=4","gravatar_id":"","url":"https://api.github.com/users/RezviyBelorus","html_url":"https://github.com/RezviyBelorus","followers_url":"https://api.github.com/users/RezviyBelorus/followers","following_url":"https://api.github.com/users/RezviyBelorus/following{/other_user}","gists_url":"https://api.github.com/users/RezviyBelorus/gists{/gist_id}","starred_url":"https://api.github.com/users/RezviyBelorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RezviyBelorus/subscriptions","organizations_url":"https://api.github.com/users/RezviyBelorus/orgs","repos_url":"https://api.github.com/users/RezviyBelorus/repos","events_url":"https://api.github.com/users/RezviyBelorus/events{/privacy}","received_events_url":"https://api.github.com/users/RezviyBelorus/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-02T11:22:12Z","updated_at":"2018-03-28T13:28:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c62d9fdd9b6c7b59182877101e57f71976032f53","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/242/commits","review_comments_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/242/comments","review_comment_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/comments{/number}","comments_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/issues/242/comments","statuses_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/statuses/7418570878786969abc9c656fc2139da31fae18e","head":{"label":"RezviyBelorus:multithread-cli","ref":"multithread-cli","sha":"7418570878786969abc9c656fc2139da31fae18e","user":{"login":"RezviyBelorus","id":19335237,"avatar_url":"https://avatars3.githubusercontent.com/u/19335237?v=4","gravatar_id":"","url":"https://api.github.com/users/RezviyBelorus","html_url":"https://github.com/RezviyBelorus","followers_url":"https://api.github.com/users/RezviyBelorus/followers","following_url":"https://api.github.com/users/RezviyBelorus/following{/other_user}","gists_url":"https://api.github.com/users/RezviyBelorus/gists{/gist_id}","starred_url":"https://api.github.com/users/RezviyBelorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RezviyBelorus/subscriptions","organizations_url":"https://api.github.com/users/RezviyBelorus/orgs","repos_url":"https://api.github.com/users/RezviyBelorus/repos","events_url":"https://api.github.com/users/RezviyBelorus/events{/privacy}","received_events_url":"https://api.github.com/users/RezviyBelorus/received_events","type":"User","site_admin":false},"repo":{"id":113981455,"name":"veraPDF-apps","full_name":"RezviyBelorus/veraPDF-apps","owner":{"login":"RezviyBelorus","id":19335237,"avatar_url":"https://avatars3.githubusercontent.com/u/19335237?v=4","gravatar_id":"","url":"https://api.github.com/users/RezviyBelorus","html_url":"https://github.com/RezviyBelorus","followers_url":"https://api.github.com/users/RezviyBelorus/followers","following_url":"https://api.github.com/users/RezviyBelorus/following{/other_user}","gists_url":"https://api.github.com/users/RezviyBelorus/gists{/gist_id}","starred_url":"https://api.github.com/users/RezviyBelorus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RezviyBelorus/subscriptions","organizations_url":"https://api.github.com/users/RezviyBelorus/orgs","repos_url":"https://api.github.com/users/RezviyBelorus/repos","events_url":"https://api.github.com/users/RezviyBelorus/events{/privacy}","received_events_url":"https://api.github.com/users/RezviyBelorus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RezviyBelorus/veraPDF-apps","description":"veraPDF GUI, CLI and installer for PDF Box validation","fork":true,"url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps","forks_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/forks","keys_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/teams","hooks_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/hooks","issue_events_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/issues/events{/number}","events_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/events","assignees_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/assignees{/user}","branches_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/branches{/branch}","tags_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/tags","blobs_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/languages","stargazers_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/stargazers","contributors_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/contributors","subscribers_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/subscribers","subscription_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/subscription","commits_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/contents/{+path}","compare_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/merges","archive_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/downloads","issues_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/issues{/number}","pulls_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/labels{/name}","releases_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/releases{/id}","deployments_url":"https://api.github.com/repos/RezviyBelorus/veraPDF-apps/deployments","created_at":"2017-12-12T11:20:44Z","updated_at":"2018-03-20T13:26:43Z","pushed_at":"2018-03-20T13:26:42Z","git_url":"git://github.com/RezviyBelorus/veraPDF-apps.git","ssh_url":"git@github.com:RezviyBelorus/veraPDF-apps.git","clone_url":"https://github.com/RezviyBelorus/veraPDF-apps.git","svn_url":"https://github.com/RezviyBelorus/veraPDF-apps","homepage":null,"size":3611,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"integration"}},"base":{"label":"veraPDF:integration","ref":"integration","sha":"2422073ede60dc688fa398a092cb40d24b4703c0","user":{"login":"veraPDF","id":9946925,"avatar_url":"https://avatars3.githubusercontent.com/u/9946925?v=4","gravatar_id":"","url":"https://api.github.com/users/veraPDF","html_url":"https://github.com/veraPDF","followers_url":"https://api.github.com/users/veraPDF/followers","following_url":"https://api.github.com/users/veraPDF/following{/other_user}","gists_url":"https://api.github.com/users/veraPDF/gists{/gist_id}","starred_url":"https://api.github.com/users/veraPDF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veraPDF/subscriptions","organizations_url":"https://api.github.com/users/veraPDF/orgs","repos_url":"https://api.github.com/users/veraPDF/repos","events_url":"https://api.github.com/users/veraPDF/events{/privacy}","received_events_url":"https://api.github.com/users/veraPDF/received_events","type":"Organization","site_admin":false},"repo":{"id":53291241,"name":"veraPDF-apps","full_name":"veraPDF/veraPDF-apps","owner":{"login":"veraPDF","id":9946925,"avatar_url":"https://avatars3.githubusercontent.com/u/9946925?v=4","gravatar_id":"","url":"https://api.github.com/users/veraPDF","html_url":"https://github.com/veraPDF","followers_url":"https://api.github.com/users/veraPDF/followers","following_url":"https://api.github.com/users/veraPDF/following{/other_user}","gists_url":"https://api.github.com/users/veraPDF/gists{/gist_id}","starred_url":"https://api.github.com/users/veraPDF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veraPDF/subscriptions","organizations_url":"https://api.github.com/users/veraPDF/orgs","repos_url":"https://api.github.com/users/veraPDF/repos","events_url":"https://api.github.com/users/veraPDF/events{/privacy}","received_events_url":"https://api.github.com/users/veraPDF/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/veraPDF/veraPDF-apps","description":"veraPDF GUI, CLI and installer for PDF Box validation","fork":false,"url":"https://api.github.com/repos/veraPDF/veraPDF-apps","forks_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/forks","keys_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/keys{/key_id}","collaborators_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/teams","hooks_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/hooks","issue_events_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/issues/events{/number}","events_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/events","assignees_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/assignees{/user}","branches_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/branches{/branch}","tags_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/tags","blobs_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/git/refs{/sha}","trees_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/git/trees{/sha}","statuses_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/statuses/{sha}","languages_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/languages","stargazers_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/stargazers","contributors_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/contributors","subscribers_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/subscribers","subscription_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/subscription","commits_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/commits{/sha}","git_commits_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/git/commits{/sha}","comments_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/comments{/number}","issue_comment_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/issues/comments{/number}","contents_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/contents/{+path}","compare_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/compare/{base}...{head}","merges_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/merges","archive_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/downloads","issues_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/issues{/number}","pulls_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls{/number}","milestones_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/milestones{/number}","notifications_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/labels{/name}","releases_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/releases{/id}","deployments_url":"https://api.github.com/repos/veraPDF/veraPDF-apps/deployments","created_at":"2016-03-07T02:57:13Z","updated_at":"2018-02-05T04:33:24Z","pushed_at":"2018-03-27T09:15:23Z","git_url":"git://github.com/veraPDF/veraPDF-apps.git","ssh_url":"git@github.com:veraPDF/veraPDF-apps.git","clone_url":"https://github.com/veraPDF/veraPDF-apps.git","svn_url":"https://github.com/veraPDF/veraPDF-apps","homepage":null,"size":3549,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":22,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":8,"open_issues":22,"watchers":11,"default_branch":"integration"}},"_links":{"self":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/242"},"html":{"href":"https://github.com/veraPDF/veraPDF-apps/pull/242"},"issue":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/issues/242"},"comments":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/veraPDF/veraPDF-apps/statuses/7418570878786969abc9c656fc2139da31fae18e"}},"author_association":"NONE"}}
{"actor":{"display_login":"carlwilson"}}