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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5f307e3  Fixed CS
5f307e3 is described below

commit 5f307e393ea8d38ed6a74df2aa030db2fd4bdd87
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Mar 24 19:57:44 2021 +0100

    Fixed CS
---
 .../component/salesforce/SalesforceEndpointConfig.java   |  2 +-
 .../salesforce/api/dto/composite/SObjectCollection.java  |  2 +-
 .../dto/composite/RetrieveSObjectCollectionsDto.java     | 16 ++++++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpointConfig.java
 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpointConfig.java
index 6d3d2eb..0557b49 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpointConfig.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/SalesforceEndpointConfig.java
@@ -137,7 +137,7 @@ public class SalesforceEndpointConfig implements Cloneable {
     private String compositeMethod;
     @UriParam(label = "producer", defaultValue = "false", description = 
"Composite API option to indicate" +
                                                                         " to 
rollback all records if any are not successful.")
-    private boolean allOrNone = false;
+    private boolean allOrNone;
     @UriParam(label = "producer")
     private String apexUrl;
     @UriParam
diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/composite/SObjectCollection.java
 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/composite/SObjectCollection.java
index ca8f937..e0f9cc6 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/composite/SObjectCollection.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/dto/composite/SObjectCollection.java
@@ -28,7 +28,7 @@ public class SObjectCollection implements Serializable {
 
     private static final long serialVersionUID = 1L;
 
-    private boolean allOrNone = false;
+    private boolean allOrNone;
     private List<AbstractDescribedSObjectBase> records = new ArrayList<>();
 
     public boolean isAllOrNone() {
diff --git 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/composite/RetrieveSObjectCollectionsDto.java
 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/composite/RetrieveSObjectCollectionsDto.java
index 7284e1c..c4f3b32 100644
--- 
a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/composite/RetrieveSObjectCollectionsDto.java
+++ 
b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/internal/dto/composite/RetrieveSObjectCollectionsDto.java
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package org.apache.camel.component.salesforce.internal.dto.composite;
 
 import java.io.Serializable;

Reply via email to