aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.");