projects
/
gpl
/
argeo-suite.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adapt to changes in Commons IO
[gpl/argeo-suite.git]
/
swt
/
org.argeo.app.ui
/
src
/
org
/
argeo
/
app
/
ui
/
docbook
/
DbkTextInterpreter.java
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 ff12348dced60bc8f8d456316b9b4e57202f4d98..80f768cb8fd0fcaef099a5c7fa5a58b47ac4b825 100644
(file)
--- 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.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;
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 {
/** 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();
private String linkCssClass = DbkType.link.name();
@@
-242,8
+241,6
@@
public class DbkTextInterpreter implements TextInterpreter {
sb.append(lines.get(i));
}
return sb.toString();
sb.append(lines.get(i));
}
return sb.toString();
- } catch (IOException e) {
- throw new RuntimeException(e);
}
}
}
}