Skip to content

Commit

Permalink
[elastic_5_6] Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NPi2Loup committed Nov 9, 2023
1 parent 38c1f3c commit e6e94d6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.stream.Collectors;

import org.elasticsearch.common.xcontent.XContentBuilder;
import org.elasticsearch.common.xcontent.XContentFactory;
Expand Down Expand Up @@ -179,7 +180,7 @@ <S extends KeyConcept, I extends DtObject> XContentBuilder index2XContentBuilder
private static List<DtField> getNotStoredFields(final DtDefinition dtDefinition) {
return dtDefinition.getFields().stream()
.filter(dtField -> !isIndexStoredDomain(dtField.smartTypeDefinition()))
.toList();
.collect(Collectors.toList());
}

private static <I extends DtObject> I cloneDto(final DtDefinition dtDefinition, final I dto, final List<DtField> excludedFields) {
Expand Down

0 comments on commit e6e94d6

Please sign in to comment.