{"action":"created","issue":{"url":"https://api.github.com/repos/yegor256/cactoos/issues/648","repository_url":"https://api.github.com/repos/yegor256/cactoos","labels_url":"https://api.github.com/repos/yegor256/cactoos/issues/648/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/cactoos/issues/648/comments","events_url":"https://api.github.com/repos/yegor256/cactoos/issues/648/events","html_url":"https://github.com/yegor256/cactoos/issues/648","id":297225822,"number":648,"title":"ListEnvelope<T> does not implement equals()","user":{"login":"svendiedrichsen","id":3110558,"avatar_url":"https://avatars2.githubusercontent.com/u/3110558?v=4","gravatar_id":"","url":"https://api.github.com/users/svendiedrichsen","html_url":"https://github.com/svendiedrichsen","followers_url":"https://api.github.com/users/svendiedrichsen/followers","following_url":"https://api.github.com/users/svendiedrichsen/following{/other_user}","gists_url":"https://api.github.com/users/svendiedrichsen/gists{/gist_id}","starred_url":"https://api.github.com/users/svendiedrichsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svendiedrichsen/subscriptions","organizations_url":"https://api.github.com/users/svendiedrichsen/orgs","repos_url":"https://api.github.com/users/svendiedrichsen/repos","events_url":"https://api.github.com/users/svendiedrichsen/events{/privacy}","received_events_url":"https://api.github.com/users/svendiedrichsen/received_events","type":"User","site_admin":false},"labels":[{"id":611498887,"url":"https://api.github.com/repos/yegor256/cactoos/labels/bug","name":"bug","color":"ee0701","default":true},{"id":817650738,"url":"https://api.github.com/repos/yegor256/cactoos/labels/scope","name":"scope","color":"3a6622","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-02-14T19:58:37Z","updated_at":"2018-02-23T09:39:01Z","closed_at":"2018-02-19T14:16:43Z","author_association":"CONTRIBUTOR","body":"Thus you can't compare extending classes of ListEnvelope like you can with JDK lists.\r\ni.e.: `new ListOf<>(1,2).equals(new ListOf<>(1,2))` results in `false` but should be `true`\r\nThat is also why all cactoos tests which use any ListEnvelope derived class have to compare the results of the `toArray`method.\r\n\r\nJDK List.equals Javadoc: https://docs.oracle.com/javase/8/docs/api/java/util/List.html#equals-java.lang.Object-\r\n\r\nBTW: additionally an implementation of the `toString` method would also allow for better logging of instances of derived ListEnvelope classes especially in test results."},"comment":{"url":"https://api.github.com/repos/yegor256/cactoos/issues/comments/367958853","html_url":"https://github.com/yegor256/cactoos/issues/648#issuecomment-367958853","issue_url":"https://api.github.com/repos/yegor256/cactoos/issues/648","id":367958853,"user":{"login":"ypshenychka","id":11703257,"avatar_url":"https://avatars3.githubusercontent.com/u/11703257?v=4","gravatar_id":"","url":"https://api.github.com/users/ypshenychka","html_url":"https://github.com/ypshenychka","followers_url":"https://api.github.com/users/ypshenychka/followers","following_url":"https://api.github.com/users/ypshenychka/following{/other_user}","gists_url":"https://api.github.com/users/ypshenychka/gists{/gist_id}","starred_url":"https://api.github.com/users/ypshenychka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypshenychka/subscriptions","organizations_url":"https://api.github.com/users/ypshenychka/orgs","repos_url":"https://api.github.com/users/ypshenychka/repos","events_url":"https://api.github.com/users/ypshenychka/events{/privacy}","received_events_url":"https://api.github.com/users/ypshenychka/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T09:39:01Z","updated_at":"2018-02-23T09:39:01Z","author_association":"NONE","body":"@yegor256 Please advise how should I evaluate this ticket? To my mind, it should be bad quality."}}
{"actor":{"display_login":"ypshenychka"}}