You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/03/17 11:55:41 UTC

[camel] 13/15: CAMEL-18995: camel-http-common - Upgrade to HttpComponents 5.x

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

nfilotto pushed a commit to branch CAMEL-18995/upgrade-httpcomponents-5
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 0e716e34a315e695e033dbf6056aacb37097dcfa
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Fri Mar 17 12:37:41 2023 +0100

    CAMEL-18995: camel-http-common - Upgrade to HttpComponents 5.x
---
 .../src/main/java/org/apache/camel/http/common/HttpHelper.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHelper.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHelper.java
index ef7fcf1565b..9ca91573cbe 100644
--- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHelper.java
+++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHelper.java
@@ -118,7 +118,7 @@ public final class HttpHelper {
             return null;
         }
 
-        Object answer = null;
+        Object answer;
         ObjectInputStream ois = new CamelObjectInputStream(is, context);
         try {
             answer = ois.readObject();