You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/04/20 08:29:02 UTC
[camel] branch camel-3.20.x updated: Fixed CS
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.20.x by this push:
new 28fd8f509f5 Fixed CS
28fd8f509f5 is described below
commit 28fd8f509f55aa5a971b07813365d51f6dea149d
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu Apr 20 10:28:49 2023 +0200
Fixed CS
---
.../camel/component/salesforce/api/FieldsToNullPropertyFilter.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/FieldsToNullPropertyFilter.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/FieldsToNullPropertyFilter.java
index cd38ea8c0a0..376c2360cbe 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/FieldsToNullPropertyFilter.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/FieldsToNullPropertyFilter.java
@@ -35,8 +35,7 @@ public class FieldsToNullPropertyFilter extends SimpleBeanPropertyFilter {
boolean failedToReadFieldValue = false;
try {
fieldValue = FieldUtils.readField(pojo, fieldName, true);
- }
- catch (IllegalArgumentException e) {
+ } catch (IllegalArgumentException e) {
// This happens if the backing field for the getter doesn't match the name provided to @JsonProperty
// This is expected to happen in the case of blob fields, e.g., ContentVersion.getVersionDataUrl(),
// whose backing property is specified as @JsonData("VersionData")