{"action":"created","comment":{"url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/comments/58660253","id":58660253,"diff_hunk":"@@ -0,0 +1,45 @@\n+package com.epam.task1.appliances.cleaner;\n+\n+/**\n+ * Created by Yuriy Krishtop on 02.04.2016.\n+ */\n+public class WashingMachine extends Cleaner {\n+    private double capacity;\n+    private int maximumSpinSpeed;\n+\n+    public WashingMachine(String manufacturer, int power, int price, double waterConsumption,\n+                          int programCount, double capacity, int maximumSpinSpeed) {\n+        super(manufacturer, power, price, waterConsumption, programCount);\n+        this.capacity = capacity;\n+        this.maximumSpinSpeed = maximumSpinSpeed;\n+    }\n+\n+    @Override\n+    public String toString() {\n+        return super.toString() + \"| capacity: \" + capacity + \"kg \" +\n+                \"| maximum spin speed: \" + maximumSpinSpeed + \" rotations per min\";\n+    }\n+\n+    @Override\n+    public boolean equals(Object other) {\n+        try {\n+            if (!super.equals(other)) {\n+                return false;\n+            }\n+            if (this.getClass() != other.getClass()) {","path":"Yuri_Krishtop/Module 6 - Collections/src/main/java/com/epam/task1/appliances/cleaner/WashingMachine.java","position":29,"original_position":29,"commit_id":"caa94118998a97d8fe3db24b3094584acba72104","original_commit_id":"caa94118998a97d8fe3db24b3094584acba72104","user":{"login":"technicaltaskjava","id":17650564,"avatar_url":"https://avatars.githubusercontent.com/u/17650564?v=3","gravatar_id":"","url":"https://api.github.com/users/technicaltaskjava","html_url":"https://github.com/technicaltaskjava","followers_url":"https://api.github.com/users/technicaltaskjava/followers","following_url":"https://api.github.com/users/technicaltaskjava/following{/other_user}","gists_url":"https://api.github.com/users/technicaltaskjava/gists{/gist_id}","starred_url":"https://api.github.com/users/technicaltaskjava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicaltaskjava/subscriptions","organizations_url":"https://api.github.com/users/technicaltaskjava/orgs","repos_url":"https://api.github.com/users/technicaltaskjava/repos","events_url":"https://api.github.com/users/technicaltaskjava/events{/privacy}","received_events_url":"https://api.github.com/users/technicaltaskjava/received_events","type":"User","site_admin":false},"body":"![BLOCKER](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-blocker.png) NullPointerException might be thrown as 'other' is nullable here [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://localhost:9000/coding_rules#rule_key=squid%3AS2259)\n","created_at":"2016-04-06T07:09:39Z","updated_at":"2016-04-06T07:09:39Z","html_url":"https://github.com/technicaltaskjava/JavaCoreHomework/pull/78#discussion_r58660253","pull_request_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/78","_links":{"self":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/comments/58660253"},"html":{"href":"https://github.com/technicaltaskjava/JavaCoreHomework/pull/78#discussion_r58660253"},"pull_request":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/78"}}},"pull_request":{"url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/78","id":65390905,"html_url":"https://github.com/technicaltaskjava/JavaCoreHomework/pull/78","diff_url":"https://github.com/technicaltaskjava/JavaCoreHomework/pull/78.diff","patch_url":"https://github.com/technicaltaskjava/JavaCoreHomework/pull/78.patch","issue_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/issues/78","number":78,"state":"open","locked":false,"title":"Yuriy Krishtop Module 6 - Collections fixed \" NullPointerException mi…","user":{"login":"YuriyKrishtop","id":17403771,"avatar_url":"https://avatars.githubusercontent.com/u/17403771?v=3","gravatar_id":"","url":"https://api.github.com/users/YuriyKrishtop","html_url":"https://github.com/YuriyKrishtop","followers_url":"https://api.github.com/users/YuriyKrishtop/followers","following_url":"https://api.github.com/users/YuriyKrishtop/following{/other_user}","gists_url":"https://api.github.com/users/YuriyKrishtop/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriyKrishtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriyKrishtop/subscriptions","organizations_url":"https://api.github.com/users/YuriyKrishtop/orgs","repos_url":"https://api.github.com/users/YuriyKrishtop/repos","events_url":"https://api.github.com/users/YuriyKrishtop/events{/privacy}","received_events_url":"https://api.github.com/users/YuriyKrishtop/received_events","type":"User","site_admin":false},"body":"…ght be thrown as 'other' is nullable here\"","created_at":"2016-04-05T23:55:55Z","updated_at":"2016-04-06T07:09:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50ec3075a768262203430123ecae4ed6a283cfa7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/78/commits","review_comments_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/78/comments","review_comment_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/issues/78/comments","statuses_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/statuses/caa94118998a97d8fe3db24b3094584acba72104","head":{"label":"YuriyKrishtop:master","ref":"master","sha":"caa94118998a97d8fe3db24b3094584acba72104","user":{"login":"YuriyKrishtop","id":17403771,"avatar_url":"https://avatars.githubusercontent.com/u/17403771?v=3","gravatar_id":"","url":"https://api.github.com/users/YuriyKrishtop","html_url":"https://github.com/YuriyKrishtop","followers_url":"https://api.github.com/users/YuriyKrishtop/followers","following_url":"https://api.github.com/users/YuriyKrishtop/following{/other_user}","gists_url":"https://api.github.com/users/YuriyKrishtop/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriyKrishtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriyKrishtop/subscriptions","organizations_url":"https://api.github.com/users/YuriyKrishtop/orgs","repos_url":"https://api.github.com/users/YuriyKrishtop/repos","events_url":"https://api.github.com/users/YuriyKrishtop/events{/privacy}","received_events_url":"https://api.github.com/users/YuriyKrishtop/received_events","type":"User","site_admin":false},"repo":{"id":55561439,"name":"JavaCoreHomework","full_name":"YuriyKrishtop/JavaCoreHomework","owner":{"login":"YuriyKrishtop","id":17403771,"avatar_url":"https://avatars.githubusercontent.com/u/17403771?v=3","gravatar_id":"","url":"https://api.github.com/users/YuriyKrishtop","html_url":"https://github.com/YuriyKrishtop","followers_url":"https://api.github.com/users/YuriyKrishtop/followers","following_url":"https://api.github.com/users/YuriyKrishtop/following{/other_user}","gists_url":"https://api.github.com/users/YuriyKrishtop/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriyKrishtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriyKrishtop/subscriptions","organizations_url":"https://api.github.com/users/YuriyKrishtop/orgs","repos_url":"https://api.github.com/users/YuriyKrishtop/repos","events_url":"https://api.github.com/users/YuriyKrishtop/events{/privacy}","received_events_url":"https://api.github.com/users/YuriyKrishtop/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YuriyKrishtop/JavaCoreHomework","description":"","fork":true,"url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework","forks_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/forks","keys_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/teams","hooks_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/hooks","issue_events_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/issues/events{/number}","events_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/events","assignees_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/assignees{/user}","branches_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/branches{/branch}","tags_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/tags","blobs_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/git/refs{/sha}","trees_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/statuses/{sha}","languages_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/languages","stargazers_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/stargazers","contributors_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/contributors","subscribers_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/subscribers","subscription_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/subscription","commits_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/commits{/sha}","git_commits_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/git/commits{/sha}","comments_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/comments{/number}","issue_comment_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/issues/comments{/number}","contents_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/contents/{+path}","compare_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/merges","archive_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/downloads","issues_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/issues{/number}","pulls_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/pulls{/number}","milestones_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/milestones{/number}","notifications_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/labels{/name}","releases_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/releases{/id}","deployments_url":"https://api.github.com/repos/YuriyKrishtop/JavaCoreHomework/deployments","created_at":"2016-04-05T23:41:17Z","updated_at":"2016-04-05T23:41:19Z","pushed_at":"2016-04-05T23:54:12Z","git_url":"git://github.com/YuriyKrishtop/JavaCoreHomework.git","ssh_url":"git@github.com:YuriyKrishtop/JavaCoreHomework.git","clone_url":"https://github.com/YuriyKrishtop/JavaCoreHomework.git","svn_url":"https://github.com/YuriyKrishtop/JavaCoreHomework","homepage":null,"size":2727,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"technicaltaskjava:master","ref":"master","sha":"fa23fe92ea4a33c0ab1bd28b55947655eba2ede5","user":{"login":"technicaltaskjava","id":17650564,"avatar_url":"https://avatars.githubusercontent.com/u/17650564?v=3","gravatar_id":"","url":"https://api.github.com/users/technicaltaskjava","html_url":"https://github.com/technicaltaskjava","followers_url":"https://api.github.com/users/technicaltaskjava/followers","following_url":"https://api.github.com/users/technicaltaskjava/following{/other_user}","gists_url":"https://api.github.com/users/technicaltaskjava/gists{/gist_id}","starred_url":"https://api.github.com/users/technicaltaskjava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicaltaskjava/subscriptions","organizations_url":"https://api.github.com/users/technicaltaskjava/orgs","repos_url":"https://api.github.com/users/technicaltaskjava/repos","events_url":"https://api.github.com/users/technicaltaskjava/events{/privacy}","received_events_url":"https://api.github.com/users/technicaltaskjava/received_events","type":"User","site_admin":false},"repo":{"id":53159830,"name":"JavaCoreHomework","full_name":"technicaltaskjava/JavaCoreHomework","owner":{"login":"technicaltaskjava","id":17650564,"avatar_url":"https://avatars.githubusercontent.com/u/17650564?v=3","gravatar_id":"","url":"https://api.github.com/users/technicaltaskjava","html_url":"https://github.com/technicaltaskjava","followers_url":"https://api.github.com/users/technicaltaskjava/followers","following_url":"https://api.github.com/users/technicaltaskjava/following{/other_user}","gists_url":"https://api.github.com/users/technicaltaskjava/gists{/gist_id}","starred_url":"https://api.github.com/users/technicaltaskjava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technicaltaskjava/subscriptions","organizations_url":"https://api.github.com/users/technicaltaskjava/orgs","repos_url":"https://api.github.com/users/technicaltaskjava/repos","events_url":"https://api.github.com/users/technicaltaskjava/events{/privacy}","received_events_url":"https://api.github.com/users/technicaltaskjava/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/technicaltaskjava/JavaCoreHomework","description":"","fork":false,"url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework","forks_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/forks","keys_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/teams","hooks_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/hooks","issue_events_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/issues/events{/number}","events_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/events","assignees_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/assignees{/user}","branches_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/branches{/branch}","tags_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/tags","blobs_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/git/refs{/sha}","trees_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/statuses/{sha}","languages_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/languages","stargazers_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/stargazers","contributors_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/contributors","subscribers_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/subscribers","subscription_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/subscription","commits_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/commits{/sha}","git_commits_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/git/commits{/sha}","comments_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/comments{/number}","issue_comment_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/issues/comments{/number}","contents_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/contents/{+path}","compare_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/merges","archive_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/downloads","issues_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/issues{/number}","pulls_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls{/number}","milestones_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/milestones{/number}","notifications_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/labels{/name}","releases_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/releases{/id}","deployments_url":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/deployments","created_at":"2016-03-04T19:19:59Z","updated_at":"2016-03-27T13:56:52Z","pushed_at":"2016-04-06T03:56:59Z","git_url":"git://github.com/technicaltaskjava/JavaCoreHomework.git","ssh_url":"git@github.com:technicaltaskjava/JavaCoreHomework.git","clone_url":"https://github.com/technicaltaskjava/JavaCoreHomework.git","svn_url":"https://github.com/technicaltaskjava/JavaCoreHomework","homepage":null,"size":2543,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":14,"forks":18,"open_issues":14,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/78"},"html":{"href":"https://github.com/technicaltaskjava/JavaCoreHomework/pull/78"},"issue":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/issues/78"},"comments":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/technicaltaskjava/JavaCoreHomework/statuses/caa94118998a97d8fe3db24b3094584acba72104"}}}}