From 5e0f8632102634f1d5fdce43a51bb78391e3a634 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Thu, 17 Feb 2022 13:00:18 -0500 Subject: [PATCH] Small formatting clean up Replaces some funny code formatting created when we applied spotless to the code globally. Spotless does a fine job, but this was a little funky looking. --- .../snapshots/sourceonly/SourceOnlySnapshotRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/snapshots/sourceonly/SourceOnlySnapshotRepository.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/snapshots/sourceonly/SourceOnlySnapshotRepository.java index 66be6d081dbda..127376c83bc43 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/snapshots/sourceonly/SourceOnlySnapshotRepository.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/snapshots/sourceonly/SourceOnlySnapshotRepository.java @@ -140,7 +140,7 @@ public void snapshotShard(SnapshotShardContext context) { && mapperService.documentMapper().sourceMapper().isComplete() == false) { context.onFailure( new IllegalStateException( - "Can't snapshot _source only on an index that has incomplete source ie. has _source disabled " + "or filters the source" + "Can't snapshot _source only on an index that has incomplete source ie. has _source disabled or filters the source" ) ); return;