oap-server/server-library/library-elasticsearch-client/src/main/java/org/apache/skywalking/library/elasticsearch/requests/factory/v6/codec/V6IndexTemplatesDeserializer.java [36:44]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public IndexTemplates deserialize(final JsonParser p,
                                      final DeserializationContext ctxt)
        throws IOException {
        final Map<String, IndexTemplate> templates = p.getCodec().readValue(p, TYPE_REFERENCE);
        if (templates == null) {
            return new IndexTemplates(Collections.emptyMap());
        }
        return new IndexTemplates(templates);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



oap-server/server-library/library-elasticsearch-client/src/main/java/org/apache/skywalking/library/elasticsearch/requests/factory/v7plus/codec/V7IndexTemplatesDeserializer.java [36:45]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public IndexTemplates deserialize(final JsonParser p,
                                      final DeserializationContext ctxt)
        throws IOException {

        final Map<String, IndexTemplate> templates = p.getCodec().readValue(p, TYPE_REFERENCE);
        if (templates == null) {
            return new IndexTemplates(Collections.emptyMap());
        }
        return new IndexTemplates(templates);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



