GitHub PullRequestReviewCommentEvent at 2014-04-01 21:33:45
Repository: elasticsearch
Actor: s1monw
Payload: {"comment":{"url":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/comments/11183241","id":11183241,"diff_hunk":"@@ -0,0 +1,166 @@\n+/*\n+ * Licensed to Elasticsearch under one or more contributor\n+ * license agreements. See the NOTICE file distributed with\n+ * this work for additional information regarding copyright\n+ * ownership. Elasticsearch licenses this file to you under\n+ * the Apache License, Version 2.0 (the \"License\"); you may\n+ * not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *    http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing,\n+ * software distributed under the License is distributed on an\n+ * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+ * KIND, either express or implied.  See the License for the\n+ * specific language governing permissions and limitations\n+ * under the License.\n+ */\n+package org.elasticsearch.action.bench;\n+\n+import org.elasticsearch.common.xcontent.ToXContent;\n+import org.elasticsearch.common.xcontent.XContentBuilder;\n+import org.elasticsearch.common.xcontent.XContentBuilderString;\n+\n+import java.io.IOException;\n+import java.text.NumberFormat;\n+import java.util.List;\n+import java.util.Locale;\n+import java.util.Map;\n+\n+/**\n+ * Detailed statistics for each iteration of a benchmark search competition.\n+ */\n+public class CompetitionDetails implements ToXContent {\n+\n+    private List<CompetitionNodeResult> nodeResults;\n+    private NumberFormat formatter = NumberFormat.getNumberInstance(Locale.ROOT);","path":"src/main/java/org/elasticsearch/action/bench/CompetitionDetails.java","position":37,"original_position":37,"commit_id":"d6ee32131e251a2cd3c8461c636f09362a5f2347","original_commit_id":"d6ee32131e251a2cd3c8461c636f09362a5f2347","user":{"login":"s1monw","id":973334,"avatar_url":"https://avatars.githubusercontent.com/u/973334?","gravatar_id":"8c12b7030c2431ff54d71891a722ff9a","url":"https://api.github.com/users/s1monw","html_url":"https://github.com/s1monw","followers_url":"https://api.github.com/users/s1monw/followers","following_url":"https://api.github.com/users/s1monw/following{/other_user}","gists_url":"https://api.github.com/users/s1monw/gists{/gist_id}","starred_url":"https://api.github.com/users/s1monw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s1monw/subscriptions","organizations_url":"https://api.github.com/users/s1monw/orgs","repos_url":"https://api.github.com/users/s1monw/repos","events_url":"https://api.github.com/users/s1monw/events{/privacy}","received_events_url":"https://api.github.com/users/s1monw/received_events","type":"User","site_admin":false},"body":"not my area of expertise but why do we need this?","created_at":"2014-04-01T21:33:45Z","updated_at":"2014-04-01T21:33:45Z","html_url":"https://github.com/elasticsearch/elasticsearch/pull/5406#discussion_r11183241","pull_request_url":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/5406","_links":{"self":{"href":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/comments/11183241"},"html":{"href":"https://github.com/elasticsearch/elasticsearch/pull/5406#discussion_r11183241"},"pull_request":{"href":"https://api.github.com/repos/elasticsearch/elasticsearch/pulls/5406"}}}}