Skip to content

Commit 99045e0

Browse files
committed
Delimiters
1 parent dad5dfd commit 99045e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/blobstore/cache/BlobStoreCacheService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ private static XContentBuilder mappings() throws IOException {
227227
}
228228

229229
public CachedBlob get(String repository, String name, String path, long offset) {
230-
assert Thread.currentThread().getName().contains(ThreadPool.Names.SYSTEM_READ) == false : "must not block ["
230+
assert Thread.currentThread().getName().contains('[' + ThreadPool.Names.SYSTEM_READ + ']') == false : "must not block ["
231231
+ Thread.currentThread().getName()
232232
+ "] for a cache read";
233233

0 commit comments

Comments
 (0)