{"action":"created","comment":{"url":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/comments/88064502","pull_request_review_id":8648329,"id":88064502,"diff_hunk":"@@ -0,0 +1,260 @@\n+public class Matrix {\n+       private double[][] matrix;\n+\n+    Matrix() {\n+        this.matrix = new double[0][];\n+    }\n+\n+    Matrix(int height, int width) {\n+        if (height <= 0) {\n+            height = 1;\n+        }\n+        if (width <= 0) {\n+            width = 1;\n+        }\n+        this.matrix = new double[height][width];\n+        for (int rowNumber = 0; rowNumber < height; ++rowNumber) {\n+            for (int columnNumber = 0; columnNumber < width; ++columnNumber) {\n+                this.matrix[rowNumber][columnNumber] = 0.0;\n+            }\n+        }\n+\n+    }\n+\n+    Matrix(double[][] matrix) {\n+        this.matrix = new double[matrix.length][this.getMaxSizeRow(matrix)];\n+        for (int rowNumber = 0; rowNumber < this.getRowSize(); ++rowNumber) {\n+            for (int columnNumber = 0; columnNumber < this.getColumnSize(); ++columnNumber) {\n+                if (columnNumber < matrix[rowNumber].length) {\n+                    this.matrix[rowNumber][columnNumber] = matrix[rowNumber][columnNumber];\n+                } else {\n+                    this.matrix[rowNumber][columnNumber] = 0.0;\n+                }\n+            }\n+        }\n+\n+    }\n+\n+    Matrix(Matrix matrix) {\n+        this.matrix = new double[matrix.getRowSize()][matrix.getColumnSize()];\n+        for (int rowNumber = 0; rowNumber < matrix.getRowSize(); ++rowNumber) {\n+            for (int columnNumber = 0; columnNumber < matrix.getColumnSize(); ++columnNumber) {\n+                this.matrix[rowNumber][columnNumber] = matrix.getElement(rowNumber, columnNumber);\n+            }\n+        }\n+\n+    }\n+\n+    private int getMaxSizeRow(double[][] matrix) {","path":"Matrix.java","position":48,"original_position":48,"commit_id":"38366c9036c5e6f18ddf3231768e85a1f1c5ae83","original_commit_id":"38366c9036c5e6f18ddf3231768e85a1f1c5ae83","user":{"login":"AlexanderShushunov","id":5528356,"avatar_url":"https://avatars.githubusercontent.com/u/5528356?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexanderShushunov","html_url":"https://github.com/AlexanderShushunov","followers_url":"https://api.github.com/users/AlexanderShushunov/followers","following_url":"https://api.github.com/users/AlexanderShushunov/following{/other_user}","gists_url":"https://api.github.com/users/AlexanderShushunov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexanderShushunov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexanderShushunov/subscriptions","organizations_url":"https://api.github.com/users/AlexanderShushunov/orgs","repos_url":"https://api.github.com/users/AlexanderShushunov/repos","events_url":"https://api.github.com/users/AlexanderShushunov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexanderShushunov/received_events","type":"User","site_admin":false},"body":"Лишний метод","created_at":"2016-11-15T17:09:14Z","updated_at":"2016-11-15T17:37:16Z","html_url":"https://github.com/KozlovDanila/homeWork3/pull/1#discussion_r88064502","pull_request_url":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/comments/88064502"},"html":{"href":"https://github.com/KozlovDanila/homeWork3/pull/1#discussion_r88064502"},"pull_request":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/1","id":93469486,"html_url":"https://github.com/KozlovDanila/homeWork3/pull/1","diff_url":"https://github.com/KozlovDanila/homeWork3/pull/1.diff","patch_url":"https://github.com/KozlovDanila/homeWork3/pull/1.patch","issue_url":"https://api.github.com/repos/KozlovDanila/homeWork3/issues/1","number":1,"state":"open","locked":false,"title":"create new line","user":{"login":"KozlovDanila","id":22355714,"avatar_url":"https://avatars.githubusercontent.com/u/22355714?v=3","gravatar_id":"","url":"https://api.github.com/users/KozlovDanila","html_url":"https://github.com/KozlovDanila","followers_url":"https://api.github.com/users/KozlovDanila/followers","following_url":"https://api.github.com/users/KozlovDanila/following{/other_user}","gists_url":"https://api.github.com/users/KozlovDanila/gists{/gist_id}","starred_url":"https://api.github.com/users/KozlovDanila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KozlovDanila/subscriptions","organizations_url":"https://api.github.com/users/KozlovDanila/orgs","repos_url":"https://api.github.com/users/KozlovDanila/repos","events_url":"https://api.github.com/users/KozlovDanila/events{/privacy}","received_events_url":"https://api.github.com/users/KozlovDanila/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-13T11:03:27Z","updated_at":"2016-11-15T17:37:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94eb3e687c4b1f7d8bc02b50ff2c1606642a4f23","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/1/commits","review_comments_url":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/1/comments","review_comment_url":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KozlovDanila/homeWork3/issues/1/comments","statuses_url":"https://api.github.com/repos/KozlovDanila/homeWork3/statuses/38366c9036c5e6f18ddf3231768e85a1f1c5ae83","head":{"label":"KozlovDanila:task","ref":"task","sha":"38366c9036c5e6f18ddf3231768e85a1f1c5ae83","user":{"login":"KozlovDanila","id":22355714,"avatar_url":"https://avatars.githubusercontent.com/u/22355714?v=3","gravatar_id":"","url":"https://api.github.com/users/KozlovDanila","html_url":"https://github.com/KozlovDanila","followers_url":"https://api.github.com/users/KozlovDanila/followers","following_url":"https://api.github.com/users/KozlovDanila/following{/other_user}","gists_url":"https://api.github.com/users/KozlovDanila/gists{/gist_id}","starred_url":"https://api.github.com/users/KozlovDanila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KozlovDanila/subscriptions","organizations_url":"https://api.github.com/users/KozlovDanila/orgs","repos_url":"https://api.github.com/users/KozlovDanila/repos","events_url":"https://api.github.com/users/KozlovDanila/events{/privacy}","received_events_url":"https://api.github.com/users/KozlovDanila/received_events","type":"User","site_admin":false},"repo":{"id":73610276,"name":"homeWork3","full_name":"KozlovDanila/homeWork3","owner":{"login":"KozlovDanila","id":22355714,"avatar_url":"https://avatars.githubusercontent.com/u/22355714?v=3","gravatar_id":"","url":"https://api.github.com/users/KozlovDanila","html_url":"https://github.com/KozlovDanila","followers_url":"https://api.github.com/users/KozlovDanila/followers","following_url":"https://api.github.com/users/KozlovDanila/following{/other_user}","gists_url":"https://api.github.com/users/KozlovDanila/gists{/gist_id}","starred_url":"https://api.github.com/users/KozlovDanila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KozlovDanila/subscriptions","organizations_url":"https://api.github.com/users/KozlovDanila/orgs","repos_url":"https://api.github.com/users/KozlovDanila/repos","events_url":"https://api.github.com/users/KozlovDanila/events{/privacy}","received_events_url":"https://api.github.com/users/KozlovDanila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KozlovDanila/homeWork3","description":null,"fork":false,"url":"https://api.github.com/repos/KozlovDanila/homeWork3","forks_url":"https://api.github.com/repos/KozlovDanila/homeWork3/forks","keys_url":"https://api.github.com/repos/KozlovDanila/homeWork3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KozlovDanila/homeWork3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KozlovDanila/homeWork3/teams","hooks_url":"https://api.github.com/repos/KozlovDanila/homeWork3/hooks","issue_events_url":"https://api.github.com/repos/KozlovDanila/homeWork3/issues/events{/number}","events_url":"https://api.github.com/repos/KozlovDanila/homeWork3/events","assignees_url":"https://api.github.com/repos/KozlovDanila/homeWork3/assignees{/user}","branches_url":"https://api.github.com/repos/KozlovDanila/homeWork3/branches{/branch}","tags_url":"https://api.github.com/repos/KozlovDanila/homeWork3/tags","blobs_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/refs{/sha}","trees_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KozlovDanila/homeWork3/statuses/{sha}","languages_url":"https://api.github.com/repos/KozlovDanila/homeWork3/languages","stargazers_url":"https://api.github.com/repos/KozlovDanila/homeWork3/stargazers","contributors_url":"https://api.github.com/repos/KozlovDanila/homeWork3/contributors","subscribers_url":"https://api.github.com/repos/KozlovDanila/homeWork3/subscribers","subscription_url":"https://api.github.com/repos/KozlovDanila/homeWork3/subscription","commits_url":"https://api.github.com/repos/KozlovDanila/homeWork3/commits{/sha}","git_commits_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/commits{/sha}","comments_url":"https://api.github.com/repos/KozlovDanila/homeWork3/comments{/number}","issue_comment_url":"https://api.github.com/repos/KozlovDanila/homeWork3/issues/comments{/number}","contents_url":"https://api.github.com/repos/KozlovDanila/homeWork3/contents/{+path}","compare_url":"https://api.github.com/repos/KozlovDanila/homeWork3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KozlovDanila/homeWork3/merges","archive_url":"https://api.github.com/repos/KozlovDanila/homeWork3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KozlovDanila/homeWork3/downloads","issues_url":"https://api.github.com/repos/KozlovDanila/homeWork3/issues{/number}","pulls_url":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls{/number}","milestones_url":"https://api.github.com/repos/KozlovDanila/homeWork3/milestones{/number}","notifications_url":"https://api.github.com/repos/KozlovDanila/homeWork3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KozlovDanila/homeWork3/labels{/name}","releases_url":"https://api.github.com/repos/KozlovDanila/homeWork3/releases{/id}","deployments_url":"https://api.github.com/repos/KozlovDanila/homeWork3/deployments","created_at":"2016-11-13T11:01:02Z","updated_at":"2016-11-13T11:01:02Z","pushed_at":"2016-11-13T11:03:27Z","git_url":"git://github.com/KozlovDanila/homeWork3.git","ssh_url":"git@github.com:KozlovDanila/homeWork3.git","clone_url":"https://github.com/KozlovDanila/homeWork3.git","svn_url":"https://github.com/KozlovDanila/homeWork3","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"KozlovDanila:master","ref":"master","sha":"10a785fa34acb5ffefbeb43cfb10cbcf92200485","user":{"login":"KozlovDanila","id":22355714,"avatar_url":"https://avatars.githubusercontent.com/u/22355714?v=3","gravatar_id":"","url":"https://api.github.com/users/KozlovDanila","html_url":"https://github.com/KozlovDanila","followers_url":"https://api.github.com/users/KozlovDanila/followers","following_url":"https://api.github.com/users/KozlovDanila/following{/other_user}","gists_url":"https://api.github.com/users/KozlovDanila/gists{/gist_id}","starred_url":"https://api.github.com/users/KozlovDanila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KozlovDanila/subscriptions","organizations_url":"https://api.github.com/users/KozlovDanila/orgs","repos_url":"https://api.github.com/users/KozlovDanila/repos","events_url":"https://api.github.com/users/KozlovDanila/events{/privacy}","received_events_url":"https://api.github.com/users/KozlovDanila/received_events","type":"User","site_admin":false},"repo":{"id":73610276,"name":"homeWork3","full_name":"KozlovDanila/homeWork3","owner":{"login":"KozlovDanila","id":22355714,"avatar_url":"https://avatars.githubusercontent.com/u/22355714?v=3","gravatar_id":"","url":"https://api.github.com/users/KozlovDanila","html_url":"https://github.com/KozlovDanila","followers_url":"https://api.github.com/users/KozlovDanila/followers","following_url":"https://api.github.com/users/KozlovDanila/following{/other_user}","gists_url":"https://api.github.com/users/KozlovDanila/gists{/gist_id}","starred_url":"https://api.github.com/users/KozlovDanila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KozlovDanila/subscriptions","organizations_url":"https://api.github.com/users/KozlovDanila/orgs","repos_url":"https://api.github.com/users/KozlovDanila/repos","events_url":"https://api.github.com/users/KozlovDanila/events{/privacy}","received_events_url":"https://api.github.com/users/KozlovDanila/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KozlovDanila/homeWork3","description":null,"fork":false,"url":"https://api.github.com/repos/KozlovDanila/homeWork3","forks_url":"https://api.github.com/repos/KozlovDanila/homeWork3/forks","keys_url":"https://api.github.com/repos/KozlovDanila/homeWork3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KozlovDanila/homeWork3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KozlovDanila/homeWork3/teams","hooks_url":"https://api.github.com/repos/KozlovDanila/homeWork3/hooks","issue_events_url":"https://api.github.com/repos/KozlovDanila/homeWork3/issues/events{/number}","events_url":"https://api.github.com/repos/KozlovDanila/homeWork3/events","assignees_url":"https://api.github.com/repos/KozlovDanila/homeWork3/assignees{/user}","branches_url":"https://api.github.com/repos/KozlovDanila/homeWork3/branches{/branch}","tags_url":"https://api.github.com/repos/KozlovDanila/homeWork3/tags","blobs_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/refs{/sha}","trees_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KozlovDanila/homeWork3/statuses/{sha}","languages_url":"https://api.github.com/repos/KozlovDanila/homeWork3/languages","stargazers_url":"https://api.github.com/repos/KozlovDanila/homeWork3/stargazers","contributors_url":"https://api.github.com/repos/KozlovDanila/homeWork3/contributors","subscribers_url":"https://api.github.com/repos/KozlovDanila/homeWork3/subscribers","subscription_url":"https://api.github.com/repos/KozlovDanila/homeWork3/subscription","commits_url":"https://api.github.com/repos/KozlovDanila/homeWork3/commits{/sha}","git_commits_url":"https://api.github.com/repos/KozlovDanila/homeWork3/git/commits{/sha}","comments_url":"https://api.github.com/repos/KozlovDanila/homeWork3/comments{/number}","issue_comment_url":"https://api.github.com/repos/KozlovDanila/homeWork3/issues/comments{/number}","contents_url":"https://api.github.com/repos/KozlovDanila/homeWork3/contents/{+path}","compare_url":"https://api.github.com/repos/KozlovDanila/homeWork3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KozlovDanila/homeWork3/merges","archive_url":"https://api.github.com/repos/KozlovDanila/homeWork3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KozlovDanila/homeWork3/downloads","issues_url":"https://api.github.com/repos/KozlovDanila/homeWork3/issues{/number}","pulls_url":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls{/number}","milestones_url":"https://api.github.com/repos/KozlovDanila/homeWork3/milestones{/number}","notifications_url":"https://api.github.com/repos/KozlovDanila/homeWork3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KozlovDanila/homeWork3/labels{/name}","releases_url":"https://api.github.com/repos/KozlovDanila/homeWork3/releases{/id}","deployments_url":"https://api.github.com/repos/KozlovDanila/homeWork3/deployments","created_at":"2016-11-13T11:01:02Z","updated_at":"2016-11-13T11:01:02Z","pushed_at":"2016-11-13T11:03:27Z","git_url":"git://github.com/KozlovDanila/homeWork3.git","ssh_url":"git@github.com:KozlovDanila/homeWork3.git","clone_url":"https://github.com/KozlovDanila/homeWork3.git","svn_url":"https://github.com/KozlovDanila/homeWork3","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/1"},"html":{"href":"https://github.com/KozlovDanila/homeWork3/pull/1"},"issue":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/issues/1"},"comments":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/KozlovDanila/homeWork3/statuses/38366c9036c5e6f18ddf3231768e85a1f1c5ae83"}}}}
{"actor":{"display_login":"AlexanderShushunov"}}