From 7f2b18864c254e21e803241ae451ef39f92ff420 Mon Sep 17 00:00:00 2001 From: javanna Date: Fri, 8 Aug 2014 12:05:29 +0200 Subject: [PATCH] Java API: fixed warnings in TermVectorRequest, also called super.validate for index not null check --- .../action/termvector/TermVectorRequest.java | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/main/java/org/elasticsearch/action/termvector/TermVectorRequest.java b/src/main/java/org/elasticsearch/action/termvector/TermVectorRequest.java index 577458d9bef..a998da07b0a 100644 --- a/src/main/java/org/elasticsearch/action/termvector/TermVectorRequest.java +++ b/src/main/java/org/elasticsearch/action/termvector/TermVectorRequest.java @@ -168,7 +168,7 @@ public class TermVectorRequest extends SingleShardOperationRequesttrue if term offsets should be returned. Otherwise + * @return true if term offsets should be returned. Otherwise * false */ public boolean offsets() { @@ -192,7 +192,7 @@ public class TermVectorRequest extends SingleShardOperationRequesttrue if term payloads should be returned. Otherwise + * @return true if term payloads should be returned. Otherwise * false */ public boolean payloads() { @@ -208,7 +208,7 @@ public class TermVectorRequest extends SingleShardOperationRequesttrue if term statistics should be returned. + * @return true if term statistics should be returned. * Otherwise false */ public boolean termStatistics() { @@ -224,7 +224,7 @@ public class TermVectorRequest extends SingleShardOperationRequesttrue if field statistics should be returned. + * @return true if field statistics should be returned. * Otherwise false */ public boolean fieldStatistics() { @@ -267,10 +267,7 @@ public class TermVectorRequest extends SingleShardOperationRequest