Commit b842b29f authored by Piotr Gawron's avatar Piotr Gawron
Browse files

dependecy issues

parent 44524ba0
Pipeline #51349 passed with stage
in 15 minutes and 10 seconds
...@@ -51,13 +51,12 @@ public class MeSHParser extends CachableInterface implements IExternalService { ...@@ -51,13 +51,12 @@ public class MeSHParser extends CachableInterface implements IExternalService {
private XmlSerializer<MeSH> meshSerializer; private XmlSerializer<MeSH> meshSerializer;
private ObjectMapper objectMapper; private ObjectMapper objectMapper = new ObjectMapper();
@Autowired @Autowired
public MeSHParser(final ObjectMapper objectMapper) { public MeSHParser() {
super(MeSHParser.class); super(MeSHParser.class);
meshSerializer = new XmlSerializer<>(MeSH.class); meshSerializer = new XmlSerializer<>(MeSH.class);
this.objectMapper = objectMapper;
} }
@Override @Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment