142143144145146147148149
if (features == null) { this.features = new ConcurrentHashMap<Feature, Boolean>(); } else { this.features = features; } dbCollection.setDBEncoderFactory(new JacksonEncoderFactory( objectMapper, this)); }