This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit d4f0d33703e700c037a11fed2250dfa83499fc98 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Aug 31 14:14:43 2018 +0200 Fixed CS --- .../main/java/org/apache/camel/component/slack/utils/SlackUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-slack/src/main/java/org/apache/camel/component/slack/utils/SlackUtils.java b/components/camel-slack/src/main/java/org/apache/camel/component/slack/utils/SlackUtils.java index f5e049f..5e367ee 100644 --- a/components/camel-slack/src/main/java/org/apache/camel/component/slack/utils/SlackUtils.java +++ b/components/camel-slack/src/main/java/org/apache/camel/component/slack/utils/SlackUtils.java @@ -32,8 +32,8 @@ public final class SlackUtils { public static String readResponse(HttpResponse response) throws IOException { ByteArrayOutputStream result = new ByteArrayOutputStream(); try (InputStream s = response.getEntity().getContent()) { - byte[] buffer = new byte[1024]; - int length; + byte[] buffer = new byte[1024]; + int length; while ((length = s.read(buffer)) != -1) { result.write(buffer, 0, length); }