{"action":"created","comment":{"url":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/comments/49304896","id":49304896,"diff_hunk":"@@ -0,0 +1,46 @@\n+package breakpoints;\n+\n+import entities.Device;\n+\n+public class PagesWritenInDevice extends BreakpointBase {\n+\n+\tprivate int mCount;\n+\n+\tpublic PagesWritenInDevice(){\n+\t\tsuper();\n+\t}\n+\t\n+\t@Override\n+\tpublic boolean breakpointHit(Device<?, ?, ?, ?> previousDevice,\n+\t\t\tDevice<?, ?, ?, ?> currentDevice) {\n+\t\tif(previousDevice == null){\n+\t\t\treturn currentDevice.getTotalWritten() == mCount; \n+\t\t}\n+\t\treturn currentDevice.getTotalWritten() == mCount \n+\t\t\t\t&& previousDevice.getTotalWritten() != mCount;\n+\t}\n+\n+\t@Override\n+\tpublic String getDisplayName() {\n+\t\treturn \"X pages are writen in device\";\n+\t}\n+\n+\t@Override\n+\tpublic String getDescription() {\n+\t\treturn getCount() + \" pages are writen in device\";\n+\t}\n+\n+\t@Override\n+\tpublic void addComponents() {\n+\t\tmComponents.add(new BreakpointComponent(\"count\", int.class, \"Number of pages writen\"));","path":"src/breakpoints/PagesWritenInDevice.java","position":35,"original_position":35,"commit_id":"c1bf701f139926ee89de255daf5cb334167f4494","original_commit_id":"c1bf701f139926ee89de255daf5cb334167f4494","user":{"login":"elys1um","id":6196971,"avatar_url":"https://avatars.githubusercontent.com/u/6196971?v=3","gravatar_id":"","url":"https://api.github.com/users/elys1um","html_url":"https://github.com/elys1um","followers_url":"https://api.github.com/users/elys1um/followers","following_url":"https://api.github.com/users/elys1um/following{/other_user}","gists_url":"https://api.github.com/users/elys1um/gists{/gist_id}","starred_url":"https://api.github.com/users/elys1um/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elys1um/subscriptions","organizations_url":"https://api.github.com/users/elys1um/orgs","repos_url":"https://api.github.com/users/elys1um/repos","events_url":"https://api.github.com/users/elys1um/events{/privacy}","received_events_url":"https://api.github.com/users/elys1um/received_events","type":"User","site_admin":false},"body":"written","created_at":"2016-01-11T10:09:47Z","updated_at":"2016-01-11T10:09:47Z","html_url":"https://github.com/elys1um/SSDPlayer/pull/6#discussion_r49304896","pull_request_url":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/comments/49304896"},"html":{"href":"https://github.com/elys1um/SSDPlayer/pull/6#discussion_r49304896"},"pull_request":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/6","id":55568948,"html_url":"https://github.com/elys1um/SSDPlayer/pull/6","diff_url":"https://github.com/elys1um/SSDPlayer/pull/6.diff","patch_url":"https://github.com/elys1um/SSDPlayer/pull/6.patch","issue_url":"https://api.github.com/repos/elys1um/SSDPlayer/issues/6","number":6,"state":"open","locked":false,"title":"Adding breakpoint g","user":{"login":"roeematza","id":5460599,"avatar_url":"https://avatars.githubusercontent.com/u/5460599?v=3","gravatar_id":"","url":"https://api.github.com/users/roeematza","html_url":"https://github.com/roeematza","followers_url":"https://api.github.com/users/roeematza/followers","following_url":"https://api.github.com/users/roeematza/following{/other_user}","gists_url":"https://api.github.com/users/roeematza/gists{/gist_id}","starred_url":"https://api.github.com/users/roeematza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roeematza/subscriptions","organizations_url":"https://api.github.com/users/roeematza/orgs","repos_url":"https://api.github.com/users/roeematza/repos","events_url":"https://api.github.com/users/roeematza/events{/privacy}","received_events_url":"https://api.github.com/users/roeematza/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-10T16:55:48Z","updated_at":"2016-01-11T10:09:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a809e6cda82fe4b0a73e3eb8efeb3a80c39acff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/6/commits","review_comments_url":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/6/comments","review_comment_url":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elys1um/SSDPlayer/issues/6/comments","statuses_url":"https://api.github.com/repos/elys1um/SSDPlayer/statuses/c1bf701f139926ee89de255daf5cb334167f4494","head":{"label":"elys1um:addingBreakpointG","ref":"addingBreakpointG","sha":"c1bf701f139926ee89de255daf5cb334167f4494","user":{"login":"elys1um","id":6196971,"avatar_url":"https://avatars.githubusercontent.com/u/6196971?v=3","gravatar_id":"","url":"https://api.github.com/users/elys1um","html_url":"https://github.com/elys1um","followers_url":"https://api.github.com/users/elys1um/followers","following_url":"https://api.github.com/users/elys1um/following{/other_user}","gists_url":"https://api.github.com/users/elys1um/gists{/gist_id}","starred_url":"https://api.github.com/users/elys1um/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elys1um/subscriptions","organizations_url":"https://api.github.com/users/elys1um/orgs","repos_url":"https://api.github.com/users/elys1um/repos","events_url":"https://api.github.com/users/elys1um/events{/privacy}","received_events_url":"https://api.github.com/users/elys1um/received_events","type":"User","site_admin":false},"repo":{"id":45854030,"name":"SSDPlayer","full_name":"elys1um/SSDPlayer","owner":{"login":"elys1um","id":6196971,"avatar_url":"https://avatars.githubusercontent.com/u/6196971?v=3","gravatar_id":"","url":"https://api.github.com/users/elys1um","html_url":"https://github.com/elys1um","followers_url":"https://api.github.com/users/elys1um/followers","following_url":"https://api.github.com/users/elys1um/following{/other_user}","gists_url":"https://api.github.com/users/elys1um/gists{/gist_id}","starred_url":"https://api.github.com/users/elys1um/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elys1um/subscriptions","organizations_url":"https://api.github.com/users/elys1um/orgs","repos_url":"https://api.github.com/users/elys1um/repos","events_url":"https://api.github.com/users/elys1um/events{/privacy}","received_events_url":"https://api.github.com/users/elys1um/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elys1um/SSDPlayer","description":"Visualization tool for flash based memories using traces from real world or other simulation software.","fork":true,"url":"https://api.github.com/repos/elys1um/SSDPlayer","forks_url":"https://api.github.com/repos/elys1um/SSDPlayer/forks","keys_url":"https://api.github.com/repos/elys1um/SSDPlayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elys1um/SSDPlayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elys1um/SSDPlayer/teams","hooks_url":"https://api.github.com/repos/elys1um/SSDPlayer/hooks","issue_events_url":"https://api.github.com/repos/elys1um/SSDPlayer/issues/events{/number}","events_url":"https://api.github.com/repos/elys1um/SSDPlayer/events","assignees_url":"https://api.github.com/repos/elys1um/SSDPlayer/assignees{/user}","branches_url":"https://api.github.com/repos/elys1um/SSDPlayer/branches{/branch}","tags_url":"https://api.github.com/repos/elys1um/SSDPlayer/tags","blobs_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elys1um/SSDPlayer/statuses/{sha}","languages_url":"https://api.github.com/repos/elys1um/SSDPlayer/languages","stargazers_url":"https://api.github.com/repos/elys1um/SSDPlayer/stargazers","contributors_url":"https://api.github.com/repos/elys1um/SSDPlayer/contributors","subscribers_url":"https://api.github.com/repos/elys1um/SSDPlayer/subscribers","subscription_url":"https://api.github.com/repos/elys1um/SSDPlayer/subscription","commits_url":"https://api.github.com/repos/elys1um/SSDPlayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/elys1um/SSDPlayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/elys1um/SSDPlayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/elys1um/SSDPlayer/contents/{+path}","compare_url":"https://api.github.com/repos/elys1um/SSDPlayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elys1um/SSDPlayer/merges","archive_url":"https://api.github.com/repos/elys1um/SSDPlayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elys1um/SSDPlayer/downloads","issues_url":"https://api.github.com/repos/elys1um/SSDPlayer/issues{/number}","pulls_url":"https://api.github.com/repos/elys1um/SSDPlayer/pulls{/number}","milestones_url":"https://api.github.com/repos/elys1um/SSDPlayer/milestones{/number}","notifications_url":"https://api.github.com/repos/elys1um/SSDPlayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elys1um/SSDPlayer/labels{/name}","releases_url":"https://api.github.com/repos/elys1um/SSDPlayer/releases{/id}","created_at":"2015-11-09T17:22:18Z","updated_at":"2015-11-09T17:22:19Z","pushed_at":"2016-01-10T16:55:50Z","git_url":"git://github.com/elys1um/SSDPlayer.git","ssh_url":"git@github.com:elys1um/SSDPlayer.git","clone_url":"https://github.com/elys1um/SSDPlayer.git","svn_url":"https://github.com/elys1um/SSDPlayer","homepage":null,"size":4527,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"elys1um:master","ref":"master","sha":"7fc254906afc409808ae2894568b92568f23503e","user":{"login":"elys1um","id":6196971,"avatar_url":"https://avatars.githubusercontent.com/u/6196971?v=3","gravatar_id":"","url":"https://api.github.com/users/elys1um","html_url":"https://github.com/elys1um","followers_url":"https://api.github.com/users/elys1um/followers","following_url":"https://api.github.com/users/elys1um/following{/other_user}","gists_url":"https://api.github.com/users/elys1um/gists{/gist_id}","starred_url":"https://api.github.com/users/elys1um/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elys1um/subscriptions","organizations_url":"https://api.github.com/users/elys1um/orgs","repos_url":"https://api.github.com/users/elys1um/repos","events_url":"https://api.github.com/users/elys1um/events{/privacy}","received_events_url":"https://api.github.com/users/elys1um/received_events","type":"User","site_admin":false},"repo":{"id":45854030,"name":"SSDPlayer","full_name":"elys1um/SSDPlayer","owner":{"login":"elys1um","id":6196971,"avatar_url":"https://avatars.githubusercontent.com/u/6196971?v=3","gravatar_id":"","url":"https://api.github.com/users/elys1um","html_url":"https://github.com/elys1um","followers_url":"https://api.github.com/users/elys1um/followers","following_url":"https://api.github.com/users/elys1um/following{/other_user}","gists_url":"https://api.github.com/users/elys1um/gists{/gist_id}","starred_url":"https://api.github.com/users/elys1um/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elys1um/subscriptions","organizations_url":"https://api.github.com/users/elys1um/orgs","repos_url":"https://api.github.com/users/elys1um/repos","events_url":"https://api.github.com/users/elys1um/events{/privacy}","received_events_url":"https://api.github.com/users/elys1um/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elys1um/SSDPlayer","description":"Visualization tool for flash based memories using traces from real world or other simulation software.","fork":true,"url":"https://api.github.com/repos/elys1um/SSDPlayer","forks_url":"https://api.github.com/repos/elys1um/SSDPlayer/forks","keys_url":"https://api.github.com/repos/elys1um/SSDPlayer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elys1um/SSDPlayer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elys1um/SSDPlayer/teams","hooks_url":"https://api.github.com/repos/elys1um/SSDPlayer/hooks","issue_events_url":"https://api.github.com/repos/elys1um/SSDPlayer/issues/events{/number}","events_url":"https://api.github.com/repos/elys1um/SSDPlayer/events","assignees_url":"https://api.github.com/repos/elys1um/SSDPlayer/assignees{/user}","branches_url":"https://api.github.com/repos/elys1um/SSDPlayer/branches{/branch}","tags_url":"https://api.github.com/repos/elys1um/SSDPlayer/tags","blobs_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/refs{/sha}","trees_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elys1um/SSDPlayer/statuses/{sha}","languages_url":"https://api.github.com/repos/elys1um/SSDPlayer/languages","stargazers_url":"https://api.github.com/repos/elys1um/SSDPlayer/stargazers","contributors_url":"https://api.github.com/repos/elys1um/SSDPlayer/contributors","subscribers_url":"https://api.github.com/repos/elys1um/SSDPlayer/subscribers","subscription_url":"https://api.github.com/repos/elys1um/SSDPlayer/subscription","commits_url":"https://api.github.com/repos/elys1um/SSDPlayer/commits{/sha}","git_commits_url":"https://api.github.com/repos/elys1um/SSDPlayer/git/commits{/sha}","comments_url":"https://api.github.com/repos/elys1um/SSDPlayer/comments{/number}","issue_comment_url":"https://api.github.com/repos/elys1um/SSDPlayer/issues/comments{/number}","contents_url":"https://api.github.com/repos/elys1um/SSDPlayer/contents/{+path}","compare_url":"https://api.github.com/repos/elys1um/SSDPlayer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elys1um/SSDPlayer/merges","archive_url":"https://api.github.com/repos/elys1um/SSDPlayer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elys1um/SSDPlayer/downloads","issues_url":"https://api.github.com/repos/elys1um/SSDPlayer/issues{/number}","pulls_url":"https://api.github.com/repos/elys1um/SSDPlayer/pulls{/number}","milestones_url":"https://api.github.com/repos/elys1um/SSDPlayer/milestones{/number}","notifications_url":"https://api.github.com/repos/elys1um/SSDPlayer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elys1um/SSDPlayer/labels{/name}","releases_url":"https://api.github.com/repos/elys1um/SSDPlayer/releases{/id}","created_at":"2015-11-09T17:22:18Z","updated_at":"2015-11-09T17:22:19Z","pushed_at":"2016-01-10T16:55:50Z","git_url":"git://github.com/elys1um/SSDPlayer.git","ssh_url":"git@github.com:elys1um/SSDPlayer.git","clone_url":"https://github.com/elys1um/SSDPlayer.git","svn_url":"https://github.com/elys1um/SSDPlayer","homepage":null,"size":4527,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/6"},"html":{"href":"https://github.com/elys1um/SSDPlayer/pull/6"},"issue":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/issues/6"},"comments":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/elys1um/SSDPlayer/statuses/c1bf701f139926ee89de255daf5cb334167f4494"}}}}