those two should not be final...

This commit is contained in:
kimchy 2010-12-31 00:23:04 +02:00
parent fd593acafe
commit a92dbc537a

View File

@ -63,12 +63,12 @@ public class Requests {
/**
* The content type used to generate request builders (query / search).
*/
public final static XContentType CONTENT_TYPE = XContentType.SMILE;
public static XContentType CONTENT_TYPE = XContentType.SMILE;
/**
* The default content type to use to generate source documents when indexing.
*/
public final static XContentType INDEX_CONTENT_TYPE = XContentType.JSON;
public static XContentType INDEX_CONTENT_TYPE = XContentType.JSON;
public static IndexRequest indexRequest() {
return new IndexRequest();