projects
/
lgpl
/
argeo-commons.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Smoke tests conventions
[lgpl/argeo-commons.git]
/
org.argeo.cms
/
src
/
org
/
argeo
/
cms
/
gcr
/
xml
/
DomContentSession.java
diff --git
a/org.argeo.cms/src/org/argeo/cms/gcr/xml/DomContentSession.java
b/org.argeo.cms/src/org/argeo/cms/gcr/xml/DomContentSession.java
index ededa6cca8e7884c100a6ce2e74720afec6a7e4b..1f8c0e90c16e5ee5170548bd99f1a163a3c9c6b1 100644
(file)
--- a/
org.argeo.cms/src/org/argeo/cms/gcr/xml/DomContentSession.java
+++ b/
org.argeo.cms/src/org/argeo/cms/gcr/xml/DomContentSession.java
@@
-11,11
+11,11
@@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.argeo.api.gcr.Content;
import javax.xml.parsers.DocumentBuilderFactory;
import org.argeo.api.gcr.Content;
-import org.argeo.api.gcr.ContentS
ession
;
-import org.argeo.api.gcr.Contents;
+import org.argeo.api.gcr.ContentS
ystemProvider
;
+import org.argeo.api.gcr.Content
Util
s;
import org.w3c.dom.Document;
import org.w3c.dom.Document;
-public class DomContentSession implements ContentS
ession
{
+public class DomContentSession implements ContentS
ystemProvider
{
private Document document;
public DomContentSession(Document document) {
private Document document;
public DomContentSession(Document document) {
@@
-44,7
+44,7
@@
public class DomContentSession implements ContentSession {
Document doc = dBuilder.parse(Files.newInputStream(testFile));
DomContentSession contentSession = new DomContentSession(doc);
Document doc = dBuilder.parse(Files.newInputStream(testFile));
DomContentSession contentSession = new DomContentSession(doc);
- Content
s.traverse(contentSession.get(), (c, d) -> Content
s.print(c, System.out, d, true));
+ Content
Utils.traverse(contentSession.get(), (c, d) -> ContentUtil
s.print(c, System.out, d, true));
}
}
}
}