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

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


The following commit(s) were added to refs/heads/main by this push:
     new 974c4e5  Drop Java 8
974c4e5 is described below

commit 974c4e5d099e80cde06fa850040e431dabdbaa1e
Author: Claus Ibsen <claus.ib...@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();
             }

Reply via email to