From 0cd76a4f295a9b1f833763bcaaf91141f704b5f5 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 23 Dec 2012 19:31:13 +0100 Subject: o Making sure the entire document is parsed completely. --- src/main/java/io/trygvis/esper/testing/jenkins/JenkinsClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>>() { public Option> 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."); -- cgit v1.2.3