Skip to content

Commit 30ff79e

Browse files
committed
missing builder formatting
1 parent 4d11ec5 commit 30ff79e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/BulkProcessorIT.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -345,16 +345,16 @@ private static MultiGetRequest indexDocs(BulkProcessor processor, int numDocs, S
345345
private static BytesArray bytesBulkRequest(String localIndex, String localType, int id) throws IOException {
346346
String action = Strings.toString(jsonBuilder()
347347
.startObject()
348-
.startObject("index")
349-
.field("_index", localIndex)
350-
.field("_type", localType)
351-
.field("_id", Integer.toString(id))
352-
.endObject()
348+
.startObject("index")
349+
.field("_index", localIndex)
350+
.field("_type", localType)
351+
.field("_id", Integer.toString(id))
352+
.endObject()
353353
.endObject()
354354
);
355355
String source = Strings.toString(jsonBuilder()
356356
.startObject()
357-
.field("field", randomRealisticUnicodeOfLengthBetween(1, 30))
357+
.field("field", randomRealisticUnicodeOfLengthBetween(1, 30))
358358
.endObject()
359359
);
360360

0 commit comments

Comments
 (0)