aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-23 19:31:13 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-23 19:31:13 +0100
commit0cd76a4f295a9b1f833763bcaaf91141f704b5f5 (patch)
tree6f1adeb05cfc89a4ad56dab11a50f2e3e4e9b7c7 /src/main/java
parent8e64eff782aa9d695afc6ee92f4f428c33ec8d23 (diff)
downloadesper-testing-0cd76a4f295a9b1f833763bcaaf91141f704b5f5.tar.gz
esper-testing-0cd76a4f295a9b1f833763bcaaf91141f704b5f5.tar.bz2
esper-testing-0cd76a4f295a9b1f833763bcaaf91141f704b5f5.tar.xz
esper-testing-0cd76a4f295a9b1f833763bcaaf91141f704b5f5.zip
o Making sure the entire document is parsed completely.
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/trygvis/esper/testing/jenkins/JenkinsClient.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/trygvis/esper/testing/jenkins/JenkinsClient.java b/src/main/java/io/trygvis/esper/testing/jenkins/JenkinsClient.java
index 600ef33..40ce661 100644
--- a/src/main/java/io/trygvis/esper/testing/jenkins/JenkinsClient.java
+++ b/src/main/java/io/trygvis/esper/testing/jenkins/JenkinsClient.java
@@ -37,7 +37,7 @@ public class JenkinsClient {
jenkinsEntryXmlClient = new HttpClient<>(http, inputStreamOnly(new F<InputStream, Option<List<JenkinsEntryXml>>>() {
public Option<List<JenkinsEntryXml>> f(InputStream inputStream) {
long start = currentTimeMillis();
- Feed feed = (Feed) parser.parse(inputStream).getRoot();
+ Feed feed = (Feed) parser.parse(inputStream).getRoot().complete();
long end = currentTimeMillis();
logger.info("Parsed document in " + (end - start) + "ms.");