Skip to content

Commit 8ea019a

Browse files
committed
formatting
1 parent 4d969ad commit 8ea019a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/elasticsearch/rest/action/admin/indices/mapping/get/RestGetMappingAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ public void onResponse(ClusterStateResponse response) {
116116
builder.field(mappingMd.type());
117117
builder.map(mappingMd.sourceAsMap());
118118
}
119-
119+
120120
if (indexMetaData.mappings().values().isEmpty() && types.isEmpty()) {
121121
// if no types are specified and no mappings are set for the index, consider this an empty mapping
122-
foundAny = true;
122+
foundAny = true;
123123
}
124124

125125
builder.endObject();

0 commit comments

Comments
 (0)