Skip to content

Commit e293138

Browse files
committed
iter
1 parent 1a4857d commit e293138

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

server/src/main/java/org/elasticsearch/action/admin/indices/create/CreateIndexRequest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -316,11 +316,6 @@ private boolean isSourceEffectivelyEmpty(Map<String, ?> source) {
316316
if (source.isEmpty()) {
317317
return true;
318318
}
319-
if (source.size() == 1 && source.containsKey("properties")) {
320-
if (source.get("properties") instanceof Map<?, ?> properties) {
321-
return properties.isEmpty();
322-
}
323-
}
324319
return false;
325320
}
326321

0 commit comments

Comments
 (0)