Fixed: Add support to read and register resources defined in XML DSL(OFBIZ-11995)

Fixes a JavaDoc issue and while at it replaces
  // TODO Auto-generated catch block
  e.printStackTrace();
by
  Debug.logError(e, MODULE);
This commit is contained in:
Jacques Le Roux
2020-09-24 06:59:30 +02:00
parent 0d8a5f0275
commit a4fb6d22ee
5 changed files with 7 additions and 14 deletions
@@ -131,11 +131,8 @@ public class ExamplePrintServices {
Fop fop = ApacheFopWorker.createFopInstance(out, MimeConstants.MIME_PDF);
ApacheFopWorker.transform(src, null, fop);
} catch (FOPException e) {
// TODO Auto-generated catch block
e.printStackTrace();
Debug.logError(e, MODULE);
}
/*
// set the content type and length
response.setContentType("application/pdf");