You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/01/10 12:12:34 UTC

[camel] branch main updated: (chores) camel-fastjson: return the actual unmarshall generic type

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

orpiske 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 5dc5b9e26ba (chores) camel-fastjson: return the actual unmarshall generic type
5dc5b9e26ba is described below

commit 5dc5b9e26babb2f64e277da49168b2cccb8eb303
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Jan 10 09:36:16 2023 +0100

    (chores) camel-fastjson: return the actual unmarshall generic type
---
 .../java/org/apache/camel/component/fastjson/FastjsonDataFormat.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java b/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java
index 78b692292c6..eeb0053cab1 100644
--- a/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java
+++ b/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java
@@ -172,7 +172,7 @@ public class FastjsonDataFormat extends ServiceSupport
     }
 
     public Type getUnmarshalGenericType() {
-        return this.unmarshalType;
+        return this.unmarshalGenericType;
     }
 
     public void setUnmarshalGenericType(Type unmarshalGenericType) {