{"comment":{"url":"https://api.github.com/repos/ameow/UP/comments/16564017","html_url":"https://github.com/ameow/UP/commit/8ad2526c4e4da1b9a0e86234051848321b223f8d#commitcomment-16564017","id":16564017,"user":{"login":"nalivajr","id":5110943,"avatar_url":"https://avatars.githubusercontent.com/u/5110943?v=3","gravatar_id":"","url":"https://api.github.com/users/nalivajr","html_url":"https://github.com/nalivajr","followers_url":"https://api.github.com/users/nalivajr/followers","following_url":"https://api.github.com/users/nalivajr/following{/other_user}","gists_url":"https://api.github.com/users/nalivajr/gists{/gist_id}","starred_url":"https://api.github.com/users/nalivajr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalivajr/subscriptions","organizations_url":"https://api.github.com/users/nalivajr/orgs","repos_url":"https://api.github.com/users/nalivajr/repos","events_url":"https://api.github.com/users/nalivajr/events{/privacy}","received_events_url":"https://api.github.com/users/nalivajr/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"8ad2526c4e4da1b9a0e86234051848321b223f8d","created_at":"2016-03-08T15:17:11Z","updated_at":"2016-03-08T15:17:11Z","body":"Clean code - лабораторная принята. Все здорово, молодец.\r\nКак совет только, чтобы на разных платформах (ОС) перенос на новую строку был одинаковый, можно использовать System.lineSeparator(). Она возвращает для Mac OS \\\\n, для Windows - \\r\\n, для Linux - \\n. Это не недочет, просто совет.\r\nИ внутрениие класс компаратор можно заменить на отдельное private поле, и сразу его инициализировать. "}}