{"action":"created","comment":{"url":"https://api.github.com/repos/yandex-qatools/ashot/pulls/comments/40830478","id":40830478,"diff_hunk":"@@ -8,29 +8,27 @@\n import java.awt.image.BufferedImage;\n import java.util.Set;\n \n+import static ru.yandex.qatools.ashot.util.InnerScript.*;\n+\n /**\n  * @author <a href=\"pazone@yandex-team.ru\">Pavel Zorin</a>\n- *         <p/>\n- *         Pastes together parts of screenshots\n- *         Used when driver shoots viewport only\n  */\n \n-public abstract class VerticalPastingShootingStrategy extends HeadCuttingShootingStrategy {\n+public class ViewportPastingStrategy extends ShootingStrategy<ViewportPastingStrategy> {","path":"src/main/java/ru/yandex/qatools/ashot/shootingstrategy/ViewportPastingStrategy.java","position":null,"original_position":20,"commit_id":"68e3a1d2dcd5d2ce43804c948074e51b1b5e6935","original_commit_id":"04a1019b3b2924d05fc5e9173e8c19833db180cc","user":{"login":"frolovs","id":3276590,"avatar_url":"https://avatars.githubusercontent.com/u/3276590?v=3","gravatar_id":"","url":"https://api.github.com/users/frolovs","html_url":"https://github.com/frolovs","followers_url":"https://api.github.com/users/frolovs/followers","following_url":"https://api.github.com/users/frolovs/following{/other_user}","gists_url":"https://api.github.com/users/frolovs/gists{/gist_id}","starred_url":"https://api.github.com/users/frolovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frolovs/subscriptions","organizations_url":"https://api.github.com/users/frolovs/orgs","repos_url":"https://api.github.com/users/frolovs/repos","events_url":"https://api.github.com/users/frolovs/events{/privacy}","received_events_url":"https://api.github.com/users/frolovs/received_events","type":"User","site_admin":false},"body":"Renamed decorating strategies to *Decorator as they decorate behaviour of the SimpleShootingStrategy","created_at":"2015-09-30T18:19:28Z","updated_at":"2015-09-30T18:19:28Z","html_url":"https://github.com/yandex-qatools/ashot/pull/49#discussion_r40830478","pull_request_url":"https://api.github.com/repos/yandex-qatools/ashot/pulls/49","_links":{"self":{"href":"https://api.github.com/repos/yandex-qatools/ashot/pulls/comments/40830478"},"html":{"href":"https://github.com/yandex-qatools/ashot/pull/49#discussion_r40830478"},"pull_request":{"href":"https://api.github.com/repos/yandex-qatools/ashot/pulls/49"}}},"pull_request":{"url":"https://api.github.com/repos/yandex-qatools/ashot/pulls/49","id":45775405,"html_url":"https://github.com/yandex-qatools/ashot/pull/49","diff_url":"https://github.com/yandex-qatools/ashot/pull/49.diff","patch_url":"https://github.com/yandex-qatools/ashot/pull/49.patch","issue_url":"https://api.github.com/repos/yandex-qatools/ashot/issues/49","number":49,"state":"open","locked":false,"title":"Make VerticalPastingShootingStrategy aware of DevicePixelRatio","user":{"login":"frolovs","id":3276590,"avatar_url":"https://avatars.githubusercontent.com/u/3276590?v=3","gravatar_id":"","url":"https://api.github.com/users/frolovs","html_url":"https://github.com/frolovs","followers_url":"https://api.github.com/users/frolovs/followers","following_url":"https://api.github.com/users/frolovs/following{/other_user}","gists_url":"https://api.github.com/users/frolovs/gists{/gist_id}","starred_url":"https://api.github.com/users/frolovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frolovs/subscriptions","organizations_url":"https://api.github.com/users/frolovs/orgs","repos_url":"https://api.github.com/users/frolovs/repos","events_url":"https://api.github.com/users/frolovs/events{/privacy}","received_events_url":"https://api.github.com/users/frolovs/received_events","type":"User","site_admin":false},"body":"VerticalPastingShootingStrategy can now shoot pages with DPR > 1.\r\nRefactored a bit shootingStrategies - replaced inheritance with the Decorator pattern.","created_at":"2015-09-23T12:56:51Z","updated_at":"2015-09-30T18:19:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6e00ec908357e0152e874d48406708e8337172a4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yandex-qatools/ashot/pulls/49/commits","review_comments_url":"https://api.github.com/repos/yandex-qatools/ashot/pulls/49/comments","review_comment_url":"https://api.github.com/repos/yandex-qatools/ashot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yandex-qatools/ashot/issues/49/comments","statuses_url":"https://api.github.com/repos/yandex-qatools/ashot/statuses/68e3a1d2dcd5d2ce43804c948074e51b1b5e6935","head":{"label":"frolovs:DPR_to_VerticalPastingShootingStrategy","ref":"DPR_to_VerticalPastingShootingStrategy","sha":"68e3a1d2dcd5d2ce43804c948074e51b1b5e6935","user":{"login":"frolovs","id":3276590,"avatar_url":"https://avatars.githubusercontent.com/u/3276590?v=3","gravatar_id":"","url":"https://api.github.com/users/frolovs","html_url":"https://github.com/frolovs","followers_url":"https://api.github.com/users/frolovs/followers","following_url":"https://api.github.com/users/frolovs/following{/other_user}","gists_url":"https://api.github.com/users/frolovs/gists{/gist_id}","starred_url":"https://api.github.com/users/frolovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frolovs/subscriptions","organizations_url":"https://api.github.com/users/frolovs/orgs","repos_url":"https://api.github.com/users/frolovs/repos","events_url":"https://api.github.com/users/frolovs/events{/privacy}","received_events_url":"https://api.github.com/users/frolovs/received_events","type":"User","site_admin":false},"repo":{"id":29681616,"name":"ashot","full_name":"frolovs/ashot","owner":{"login":"frolovs","id":3276590,"avatar_url":"https://avatars.githubusercontent.com/u/3276590?v=3","gravatar_id":"","url":"https://api.github.com/users/frolovs","html_url":"https://github.com/frolovs","followers_url":"https://api.github.com/users/frolovs/followers","following_url":"https://api.github.com/users/frolovs/following{/other_user}","gists_url":"https://api.github.com/users/frolovs/gists{/gist_id}","starred_url":"https://api.github.com/users/frolovs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frolovs/subscriptions","organizations_url":"https://api.github.com/users/frolovs/orgs","repos_url":"https://api.github.com/users/frolovs/repos","events_url":"https://api.github.com/users/frolovs/events{/privacy}","received_events_url":"https://api.github.com/users/frolovs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frolovs/ashot","description":"WebDriver Screenshot utility. Take screenshots, crop, prettify, compare","fork":true,"url":"https://api.github.com/repos/frolovs/ashot","forks_url":"https://api.github.com/repos/frolovs/ashot/forks","keys_url":"https://api.github.com/repos/frolovs/ashot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frolovs/ashot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frolovs/ashot/teams","hooks_url":"https://api.github.com/repos/frolovs/ashot/hooks","issue_events_url":"https://api.github.com/repos/frolovs/ashot/issues/events{/number}","events_url":"https://api.github.com/repos/frolovs/ashot/events","assignees_url":"https://api.github.com/repos/frolovs/ashot/assignees{/user}","branches_url":"https://api.github.com/repos/frolovs/ashot/branches{/branch}","tags_url":"https://api.github.com/repos/frolovs/ashot/tags","blobs_url":"https://api.github.com/repos/frolovs/ashot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frolovs/ashot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frolovs/ashot/git/refs{/sha}","trees_url":"https://api.github.com/repos/frolovs/ashot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frolovs/ashot/statuses/{sha}","languages_url":"https://api.github.com/repos/frolovs/ashot/languages","stargazers_url":"https://api.github.com/repos/frolovs/ashot/stargazers","contributors_url":"https://api.github.com/repos/frolovs/ashot/contributors","subscribers_url":"https://api.github.com/repos/frolovs/ashot/subscribers","subscription_url":"https://api.github.com/repos/frolovs/ashot/subscription","commits_url":"https://api.github.com/repos/frolovs/ashot/commits{/sha}","git_commits_url":"https://api.github.com/repos/frolovs/ashot/git/commits{/sha}","comments_url":"https://api.github.com/repos/frolovs/ashot/comments{/number}","issue_comment_url":"https://api.github.com/repos/frolovs/ashot/issues/comments{/number}","contents_url":"https://api.github.com/repos/frolovs/ashot/contents/{+path}","compare_url":"https://api.github.com/repos/frolovs/ashot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frolovs/ashot/merges","archive_url":"https://api.github.com/repos/frolovs/ashot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frolovs/ashot/downloads","issues_url":"https://api.github.com/repos/frolovs/ashot/issues{/number}","pulls_url":"https://api.github.com/repos/frolovs/ashot/pulls{/number}","milestones_url":"https://api.github.com/repos/frolovs/ashot/milestones{/number}","notifications_url":"https://api.github.com/repos/frolovs/ashot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frolovs/ashot/labels{/name}","releases_url":"https://api.github.com/repos/frolovs/ashot/releases{/id}","created_at":"2015-01-22T14:07:40Z","updated_at":"2015-05-07T15:16:39Z","pushed_at":"2015-09-30T18:18:30Z","git_url":"git://github.com/frolovs/ashot.git","ssh_url":"git@github.com:frolovs/ashot.git","clone_url":"https://github.com/frolovs/ashot.git","svn_url":"https://github.com/frolovs/ashot","homepage":"","size":797,"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":"yandex-qatools:master","ref":"master","sha":"9b4f4e14a1ca8854e1f6760afddc727179d34ae7","user":{"login":"yandex-qatools","id":2365075,"avatar_url":"https://avatars.githubusercontent.com/u/2365075?v=3","gravatar_id":"","url":"https://api.github.com/users/yandex-qatools","html_url":"https://github.com/yandex-qatools","followers_url":"https://api.github.com/users/yandex-qatools/followers","following_url":"https://api.github.com/users/yandex-qatools/following{/other_user}","gists_url":"https://api.github.com/users/yandex-qatools/gists{/gist_id}","starred_url":"https://api.github.com/users/yandex-qatools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandex-qatools/subscriptions","organizations_url":"https://api.github.com/users/yandex-qatools/orgs","repos_url":"https://api.github.com/users/yandex-qatools/repos","events_url":"https://api.github.com/users/yandex-qatools/events{/privacy}","received_events_url":"https://api.github.com/users/yandex-qatools/received_events","type":"Organization","site_admin":false},"repo":{"id":24496061,"name":"ashot","full_name":"yandex-qatools/ashot","owner":{"login":"yandex-qatools","id":2365075,"avatar_url":"https://avatars.githubusercontent.com/u/2365075?v=3","gravatar_id":"","url":"https://api.github.com/users/yandex-qatools","html_url":"https://github.com/yandex-qatools","followers_url":"https://api.github.com/users/yandex-qatools/followers","following_url":"https://api.github.com/users/yandex-qatools/following{/other_user}","gists_url":"https://api.github.com/users/yandex-qatools/gists{/gist_id}","starred_url":"https://api.github.com/users/yandex-qatools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yandex-qatools/subscriptions","organizations_url":"https://api.github.com/users/yandex-qatools/orgs","repos_url":"https://api.github.com/users/yandex-qatools/repos","events_url":"https://api.github.com/users/yandex-qatools/events{/privacy}","received_events_url":"https://api.github.com/users/yandex-qatools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yandex-qatools/ashot","description":"WebDriver Screenshot utility. Take screenshots, crop, prettify, compare","fork":false,"url":"https://api.github.com/repos/yandex-qatools/ashot","forks_url":"https://api.github.com/repos/yandex-qatools/ashot/forks","keys_url":"https://api.github.com/repos/yandex-qatools/ashot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yandex-qatools/ashot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yandex-qatools/ashot/teams","hooks_url":"https://api.github.com/repos/yandex-qatools/ashot/hooks","issue_events_url":"https://api.github.com/repos/yandex-qatools/ashot/issues/events{/number}","events_url":"https://api.github.com/repos/yandex-qatools/ashot/events","assignees_url":"https://api.github.com/repos/yandex-qatools/ashot/assignees{/user}","branches_url":"https://api.github.com/repos/yandex-qatools/ashot/branches{/branch}","tags_url":"https://api.github.com/repos/yandex-qatools/ashot/tags","blobs_url":"https://api.github.com/repos/yandex-qatools/ashot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yandex-qatools/ashot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yandex-qatools/ashot/git/refs{/sha}","trees_url":"https://api.github.com/repos/yandex-qatools/ashot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yandex-qatools/ashot/statuses/{sha}","languages_url":"https://api.github.com/repos/yandex-qatools/ashot/languages","stargazers_url":"https://api.github.com/repos/yandex-qatools/ashot/stargazers","contributors_url":"https://api.github.com/repos/yandex-qatools/ashot/contributors","subscribers_url":"https://api.github.com/repos/yandex-qatools/ashot/subscribers","subscription_url":"https://api.github.com/repos/yandex-qatools/ashot/subscription","commits_url":"https://api.github.com/repos/yandex-qatools/ashot/commits{/sha}","git_commits_url":"https://api.github.com/repos/yandex-qatools/ashot/git/commits{/sha}","comments_url":"https://api.github.com/repos/yandex-qatools/ashot/comments{/number}","issue_comment_url":"https://api.github.com/repos/yandex-qatools/ashot/issues/comments{/number}","contents_url":"https://api.github.com/repos/yandex-qatools/ashot/contents/{+path}","compare_url":"https://api.github.com/repos/yandex-qatools/ashot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yandex-qatools/ashot/merges","archive_url":"https://api.github.com/repos/yandex-qatools/ashot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yandex-qatools/ashot/downloads","issues_url":"https://api.github.com/repos/yandex-qatools/ashot/issues{/number}","pulls_url":"https://api.github.com/repos/yandex-qatools/ashot/pulls{/number}","milestones_url":"https://api.github.com/repos/yandex-qatools/ashot/milestones{/number}","notifications_url":"https://api.github.com/repos/yandex-qatools/ashot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yandex-qatools/ashot/labels{/name}","releases_url":"https://api.github.com/repos/yandex-qatools/ashot/releases{/id}","created_at":"2014-09-26T10:45:45Z","updated_at":"2015-09-29T13:28:53Z","pushed_at":"2015-09-30T18:18:30Z","git_url":"git://github.com/yandex-qatools/ashot.git","ssh_url":"git@github.com:yandex-qatools/ashot.git","clone_url":"https://github.com/yandex-qatools/ashot.git","svn_url":"https://github.com/yandex-qatools/ashot","homepage":"","size":1141,"stargazers_count":50,"watchers_count":50,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":3,"forks":18,"open_issues":3,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yandex-qatools/ashot/pulls/49"},"html":{"href":"https://github.com/yandex-qatools/ashot/pull/49"},"issue":{"href":"https://api.github.com/repos/yandex-qatools/ashot/issues/49"},"comments":{"href":"https://api.github.com/repos/yandex-qatools/ashot/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/yandex-qatools/ashot/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/yandex-qatools/ashot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yandex-qatools/ashot/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/yandex-qatools/ashot/statuses/68e3a1d2dcd5d2ce43804c948074e51b1b5e6935"}}}}