{"comment":{"url":"https://api.github.com/repos/feelingscaredkvp/IStore/comments/14256711","html_url":"https://github.com/feelingscaredkvp/IStore/commit/4f8c6c94fb6299fea27d79097d29fe1edfe5cf49#commitcomment-14256711","id":14256711,"user":{"login":"shubbush","id":10382520,"avatar_url":"https://avatars.githubusercontent.com/u/10382520?v=3","gravatar_id":"","url":"https://api.github.com/users/shubbush","html_url":"https://github.com/shubbush","followers_url":"https://api.github.com/users/shubbush/followers","following_url":"https://api.github.com/users/shubbush/following{/other_user}","gists_url":"https://api.github.com/users/shubbush/gists{/gist_id}","starred_url":"https://api.github.com/users/shubbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shubbush/subscriptions","organizations_url":"https://api.github.com/users/shubbush/orgs","repos_url":"https://api.github.com/users/shubbush/repos","events_url":"https://api.github.com/users/shubbush/events{/privacy}","received_events_url":"https://api.github.com/users/shubbush/received_events","type":"User","site_admin":false},"position":25,"line":25,"path":"src/istore/CheckData.java","commit_id":"4f8c6c94fb6299fea27d79097d29fe1edfe5cf49","created_at":"2015-11-07T06:58:57Z","updated_at":"2015-11-07T06:58:57Z","body":"Этот метод мне кажется должен находится в классе  Catalog и принимать на вход только Product\r\nУ продукта нужно переопределить метод equals и hashcode, потом в каталоге вызывать remove у коллекции продуктов."}}