Skip to content
Snippets Groups Projects
Commit 5762f5bc authored by Mark Chance's avatar Mark Chance
Browse files

facilitate testing

parent 8dd87b27
No related branches found
No related tags found
1 merge request!809Fix mapping boolean values to string
......@@ -49,10 +49,16 @@ public class SchemaToStorageFormatImpl implements SchemaToStorageFormat {
@Inject
public SchemaToStorageFormatImpl(ObjectMapper objectMapper, JaxRsDpsLog log, SchemaConverterConfig schemaConverterConfig) {
this(objectMapper, log, schemaConverterConfig, null);
}
public SchemaToStorageFormatImpl(ObjectMapper objectMapper, JaxRsDpsLog log, SchemaConverterConfig schemaConverterConfig,
VirtualPropertiesSchemaCache virtualPropertiesSchemaCache) {
Preconditions.checkNotNull(objectMapper, "objectMapper cannot be null");
this.objectMapper = objectMapper;
this.schemaConverterConfig = schemaConverterConfig;
if (virtualPropertiesSchemaCache != null) this.virtualPropertiesSchemaCache = virtualPropertiesSchemaCache;
}
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment