GitHub PullRequestReviewCommentEvent at 2014-02-06 17:26:25
Repository: junit
Actor: kcooney
Payload: {"comment":{"url":"https://api.github.com/repos/junit-team/junit/pulls/comments/9509197","id":9509197,"diff_hunk":"@@ -0,0 +1,31 @@\n+package org.junit.runner;\n+\n+import org.junit.internal.MethodNoLongerSupportedException;\n+\n+import java.lang.annotation.Annotation;\n+import java.util.List;\n+\n+class SuiteDescription extends Description {\n+\tSuiteDescription(Class<?> testClass, String displayName, String uniqueId, Annotation[] annotations, List<Description> children) {\n+\t\tsuper(testClass, displayName, uniqueId, annotations);\n+\n+\t\tif (children != null)\n+\t\t\tfor(Description child : children)\n+\t\t\t\tsuper.addChild(child);\n+\t}\n+\n+\t@Override\n+\tpublic void addChild(Description description) {","path":"src/main/java/org/junit/runner/SuiteDescription.java","position":18,"original_position":18,"commit_id":"7bb16080f43d101c4e5e229582b4aa821fd4f1e4","original_commit_id":"7bb16080f43d101c4e5e229582b4aa821fd4f1e4","user":{"login":"kcooney","id":478190,"avatar_url":"https://gravatar.com/avatar/3e1323e035210af33f94c2d19192c936?d=https%3A%2F%2Fidenticons.github.com%2Fd9f3ec9920b2824b1faaca137adf3c9a.png&r=x","gravatar_id":"3e1323e035210af33f94c2d19192c936","url":"https://api.github.com/users/kcooney","html_url":"https://github.com/kcooney","followers_url":"https://api.github.com/users/kcooney/followers","following_url":"https://api.github.com/users/kcooney/following{/other_user}","gists_url":"https://api.github.com/users/kcooney/gists{/gist_id}","starred_url":"https://api.github.com/users/kcooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcooney/subscriptions","organizations_url":"https://api.github.com/users/kcooney/orgs","repos_url":"https://api.github.com/users/kcooney/repos","events_url":"https://api.github.com/users/kcooney/events{/privacy}","received_events_url":"https://api.github.com/users/kcooney/received_events","type":"User","site_admin":false},"body":"If you create a package-scope `ImmutableDescription` base class you can put this method there.","created_at":"2014-02-06T17:26:25Z","updated_at":"2014-02-06T17:26:25Z","html_url":"https://github.com/junit-team/junit/pull/814#discussion_r9509197","pull_request_url":"https://api.github.com/repos/junit-team/junit/pulls/814","_links":{"self":{"href":"https://api.github.com/repos/junit-team/junit/pulls/comments/9509197"},"html":{"href":"https://github.com/junit-team/junit/pull/814#discussion_r9509197"},"pull_request":{"href":"https://api.github.com/repos/junit-team/junit/pulls/814"}}}}