GitHub PullRequestReviewCommentEvent at 2014-04-23 16:44:43
Repository: scala-ide
Actor: skyluc
Payload: {"comment":{"url":"https://api.github.com/repos/scala-ide/scala-ide/pulls/comments/11910130","id":11910130,"diff_hunk":"@@ -72,8 +71,8 @@ object SyntacticInfo {\n             token <- astNode.tokens.filter { token => token.text == text || token.text == \"`\" + text + \"`\" }\n           } maybeSelfRefs += token.range.toRegion\n         case ann @ Annotation(_, annotationType, _, _) =>\n-          val tokens = annotationType.tokens.filter(_.tokenType.isId)\n-          val (pkges, annotation) = CollectionUtil.splitAtLast(tokens)\n+          val tokens = annotationType.tokens.toIndexedSeq.filter(_.tokenType.isId)\n+          val (pkges, annotation) = (tokens.take(tokens.size-1), tokens.lastOption)","path":"org.scala-ide.sdt.core/src/org/scalaide/core/internal/decorators/semantichighlighting/classifier/SyntacticInfo.scala","position":14,"original_position":14,"commit_id":"858b6ce090e1ca540d09e5afb0bfb1aaceb47d71","original_commit_id":"858b6ce090e1ca540d09e5afb0bfb1aaceb47d71","user":{"login":"skyluc","id":1098830,"avatar_url":"https://avatars.githubusercontent.com/u/1098830?","gravatar_id":"666f48df52a763fb714f3ab59eae7de4","url":"https://api.github.com/users/skyluc","html_url":"https://github.com/skyluc","followers_url":"https://api.github.com/users/skyluc/followers","following_url":"https://api.github.com/users/skyluc/following{/other_user}","gists_url":"https://api.github.com/users/skyluc/gists{/gist_id}","starred_url":"https://api.github.com/users/skyluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skyluc/subscriptions","organizations_url":"https://api.github.com/users/skyluc/orgs","repos_url":"https://api.github.com/users/skyluc/repos","events_url":"https://api.github.com/users/skyluc/events{/privacy}","received_events_url":"https://api.github.com/users/skyluc/received_events","type":"User","site_admin":false},"body":"You're right for the `init`.","created_at":"2014-04-23T16:44:43Z","updated_at":"2014-04-23T16:44:43Z","html_url":"https://github.com/scala-ide/scala-ide/pull/677#discussion_r11910130","pull_request_url":"https://api.github.com/repos/scala-ide/scala-ide/pulls/677","_links":{"self":{"href":"https://api.github.com/repos/scala-ide/scala-ide/pulls/comments/11910130"},"html":{"href":"https://github.com/scala-ide/scala-ide/pull/677#discussion_r11910130"},"pull_request":{"href":"https://api.github.com/repos/scala-ide/scala-ide/pulls/677"}}}}