Remove unused conversion to JSON
@@ -22,17 +22,6 @@ public class OrderConverter {
}
}
- public Order convertOrderJSONToOrderObject(String path) throws IOException, SAXException {
- Smooks smooks = new Smooks(OrderConverter.class.getResourceAsStream("/smooks/smooks-mapping-json.xml"));
- try {
- JavaResult javaResult = new JavaResult();
- smooks.filterSource(new StreamSource(OrderConverter.class.getResourceAsStream(path)), javaResult);
- return (Order) javaResult.getBean("order");
- } finally {
- smooks.close();
- }
- }
-
public String convertOrderXMLtoEDIFACT(String path) throws IOException, SAXException {
return convertDocumentWithTempalte(path, "/smooks/smooks-transform-edi.xml");
