X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=swt%2Forg.argeo.app.ui%2Fsrc%2Forg%2Fargeo%2Fapp%2Fui%2Fdocbook%2FDbkTextInterpreter.java;h=80f768cb8fd0fcaef099a5c7fa5a58b47ac4b825;hb=b983d0022a1bb2c84e9aa6d8fcb8a0423ba5b256;hp=ff12348dced60bc8f8d456316b9b4e57202f4d98;hpb=74c20c517b338505857d44fd0739caca48b4a8e1;p=gpl%2Fargeo-suite.git diff --git a/swt/org.argeo.app.ui/src/org/argeo/app/ui/docbook/DbkTextInterpreter.java b/swt/org.argeo.app.ui/src/org/argeo/app/ui/docbook/DbkTextInterpreter.java index ff12348..80f768c 100644 --- a/swt/org.argeo.app.ui/src/org/argeo/app/ui/docbook/DbkTextInterpreter.java +++ b/swt/org.argeo.app.ui/src/org/argeo/app/ui/docbook/DbkTextInterpreter.java @@ -18,7 +18,6 @@ import javax.jcr.NodeIterator; import javax.jcr.Property; import javax.jcr.PropertyIterator; import javax.jcr.RepositoryException; -import javax.xml.parsers.DocumentBuilderFactory; import org.apache.commons.io.IOUtils; import org.argeo.app.docbook.DbkAttr; @@ -28,7 +27,7 @@ import org.argeo.jcr.JcrException; /** Based on HTML with a few Wiki-like shortcuts. */ public class DbkTextInterpreter implements TextInterpreter { - private DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance(); +// private DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance(); private String linkCssClass = DbkType.link.name(); @@ -242,8 +241,6 @@ public class DbkTextInterpreter implements TextInterpreter { sb.append(lines.get(i)); } return sb.toString(); - } catch (IOException e) { - throw new RuntimeException(e); } }