From 15c4d5b184d18b7e332c60e462d8b55b53ee2621 Mon Sep 17 00:00:00 2001 From: Przemyslaw Gomulka Date: Wed, 2 Jan 2019 17:22:15 +0100 Subject: [PATCH] Fix line length in org.elasticsearch.get (#37071) Remove the line suppression for this package and fix offedning lines relates #34844 --- buildSrc/src/main/resources/checkstyle_suppressions.xml | 1 - server/src/test/java/org/elasticsearch/get/GetActionIT.java | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/resources/checkstyle_suppressions.xml b/buildSrc/src/main/resources/checkstyle_suppressions.xml index b74f2b71e39..c793e227a7b 100644 --- a/buildSrc/src/main/resources/checkstyle_suppressions.xml +++ b/buildSrc/src/main/resources/checkstyle_suppressions.xml @@ -59,7 +59,6 @@ - diff --git a/server/src/test/java/org/elasticsearch/get/GetActionIT.java b/server/src/test/java/org/elasticsearch/get/GetActionIT.java index edd8660586a..77303995f74 100644 --- a/server/src/test/java/org/elasticsearch/get/GetActionIT.java +++ b/server/src/test/java/org/elasticsearch/get/GetActionIT.java @@ -617,7 +617,10 @@ public class GetActionIT extends ESIntegTestCase { FlushResponse flushResponse = client().admin().indices().prepareFlush("my-index").setForce(true).get(); if (flushResponse.getSuccessfulShards() == 0) { StringBuilder sb = new StringBuilder("failed to flush at least one shard. total shards [") - .append(flushResponse.getTotalShards()).append("], failed shards: [").append(flushResponse.getFailedShards()).append("]"); + .append(flushResponse.getTotalShards()) + .append("], failed shards: [") + .append(flushResponse.getFailedShards()) + .append("]"); for (DefaultShardOperationFailedException failure: flushResponse.getShardFailures()) { sb.append("\nShard failure: ").append(failure); }