956957958959960961962963964
// Try inserting formatted SL content. // any Exception is catched in order to remove unwished dependency // on the jade.tools.sl package from this package at run-time. try { slFormatter = new SLFormatter(); } catch (Exception e) { } }
168169170171172173174175176177178
String plainContent = (theACL.getContent() != null ? theACL.getContent() : ""); if (contentLanguage.indexOf("SL") >= 0) { //Only format when SL try { plainContent = (String)new SLFormatter().format(plainContent); } catch (Exception ex) { //too bad! } }
942943944945946947948949950951952
ex.printStackTrace(); } if (contentLanguage.indexOf("SL") >= 0) { //Only format when SL try { content = (String)new SLFormatter().format(content); } catch (Exception ex) { //too bad! } }