summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/java/com/yahoo/search/result/Hit.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@oath.com>2018-12-04 11:51:58 -0800
committergjoranv <gv@oath.com>2019-01-21 15:09:29 +0100
commit0f63b23a4ea60b78ad97f1c19245023fb29545c0 (patch)
treef5652cf65362d9debf5d2ebfdc514d9886ce40e7 /container-search/src/main/java/com/yahoo/search/result/Hit.java
parenta18658fca16b994786f1b60d50f9d2f5f2ceb679 (diff)
Nonfunctional changes only
Diffstat (limited to 'container-search/src/main/java/com/yahoo/search/result/Hit.java')
-rw-r--r--container-search/src/main/java/com/yahoo/search/result/Hit.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/result/Hit.java b/container-search/src/main/java/com/yahoo/search/result/Hit.java
index bcff370685f..db5b3e69803 100644
--- a/container-search/src/main/java/com/yahoo/search/result/Hit.java
+++ b/container-search/src/main/java/com/yahoo/search/result/Hit.java
@@ -418,7 +418,7 @@ public class Hit extends ListenableFreezableClass implements Data, Comparable<Hi
*/
public void forEachFieldAsRaw(RawUtf8Consumer consumer) {
if (fields == null) return;
- fields.forEach(consumer); // No utf-8 fields available in Hit
+ fields.forEach(consumer);
}
/** Returns the fields of this as a read-only map. This is more costly than fieldIterator() */
@@ -680,8 +680,8 @@ public class Hit extends ListenableFreezableClass implements Data, Comparable<Hi
*
* @param fieldName the name of the field
* @param utf8Data raw utf-8 data. The reciver <b>must not</b> modify this data
- * @param offset the start index of the data to accept into the utf8Data array
- * @param length the length of the data to accept into the utf8Data array
+ * @param offset the start index in the utf8Data array of the data to accept
+ * @param length the length starting from offset in the utf8Data array of the data to accept
*/
void accept(String fieldName, byte[] utf8Data, int offset, int length);