{"action":"created","issue":{"url":"https://api.github.com/repos/yegor256/cactoos/issues/711","repository_url":"https://api.github.com/repos/yegor256/cactoos","labels_url":"https://api.github.com/repos/yegor256/cactoos/issues/711/labels{/name}","comments_url":"https://api.github.com/repos/yegor256/cactoos/issues/711/comments","events_url":"https://api.github.com/repos/yegor256/cactoos/issues/711/events","html_url":"https://github.com/yegor256/cactoos/issues/711","id":299457145,"number":711,"title":"NormalizedText.asString() is too procedural.","user":{"login":"aliceice","id":16580037,"avatar_url":"https://avatars2.githubusercontent.com/u/16580037?v=4","gravatar_id":"","url":"https://api.github.com/users/aliceice","html_url":"https://github.com/aliceice","followers_url":"https://api.github.com/users/aliceice/followers","following_url":"https://api.github.com/users/aliceice/following{/other_user}","gists_url":"https://api.github.com/users/aliceice/gists{/gist_id}","starred_url":"https://api.github.com/users/aliceice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliceice/subscriptions","organizations_url":"https://api.github.com/users/aliceice/orgs","repos_url":"https://api.github.com/users/aliceice/repos","events_url":"https://api.github.com/users/aliceice/events{/privacy}","received_events_url":"https://api.github.com/users/aliceice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-22T18:20:21Z","updated_at":"2018-04-20T18:33:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The method `asString()` of `NormalizedText` currently looks like this:\r\n\r\n```\r\n@Override\r\npublic String asString() throws Exception {\r\n    return new TrimmedText(this.origin).asString().replaceAll(\"\\\\s+\", \" \");\r\n}\r\n```\r\n\r\nInstead of calling `.replaceAll(...)` it should use `ReplacedText` to build a bigger object and make it more declarative."},"comment":{"url":"https://api.github.com/repos/yegor256/cactoos/issues/comments/383184412","html_url":"https://github.com/yegor256/cactoos/issues/711#issuecomment-383184412","issue_url":"https://api.github.com/repos/yegor256/cactoos/issues/711","id":383184412,"user":{"login":"llorllale","id":2019896,"avatar_url":"https://avatars1.githubusercontent.com/u/2019896?v=4","gravatar_id":"","url":"https://api.github.com/users/llorllale","html_url":"https://github.com/llorllale","followers_url":"https://api.github.com/users/llorllale/followers","following_url":"https://api.github.com/users/llorllale/following{/other_user}","gists_url":"https://api.github.com/users/llorllale/gists{/gist_id}","starred_url":"https://api.github.com/users/llorllale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llorllale/subscriptions","organizations_url":"https://api.github.com/users/llorllale/orgs","repos_url":"https://api.github.com/users/llorllale/repos","events_url":"https://api.github.com/users/llorllale/events{/privacy}","received_events_url":"https://api.github.com/users/llorllale/received_events","type":"User","site_admin":false},"created_at":"2018-04-20T18:33:18Z","updated_at":"2018-04-20T18:33:18Z","author_association":"COLLABORATOR","body":"@aliceice can we close this issue?"}}
{"actor":{"display_login":"llorllale"}}