You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/12/24 15:33:23 UTC

[camel] 02/04: Drop Java 8

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 974c4e5d099e80cde06fa850040e431dabdbaa1e
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Dec 24 15:17:18 2021 +0100

    Drop Java 8
---
 .../org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
index c578495..3cfe0ac 100644
--- a/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
+++ b/components/camel-undertow/src/main/java/org/apache/camel/component/undertow/DefaultUndertowHttpBinding.java
@@ -466,7 +466,6 @@ public class DefaultUndertowHttpBinding implements UndertowHttpBinding {
                 cast(buffer).flip();
                 out.write(buffer.array(), buffer.arrayOffset() + cast(buffer).position(),
                         buffer.arrayOffset() + cast(buffer).limit());
-                // to be compatible with java 8
                 Buffer buf = buffer;
                 cast(buf).clear();
             }