This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 2b7d57e4f6d73ffe4d0e6658d92ce0c6c91b53f1 Author: Gregor Zurowski <[email protected]> AuthorDate: Sun Mar 13 21:14:30 2022 -0400 [Minor] Apply formatter --- .../resources/org/apache/camel/dataformat/bindy/csv/bindyCsv.json | 4 ++-- .../resources/org/apache/camel/dataformat/bindy/fixed/bindyFixed.json | 4 ++-- .../resources/org/apache/camel/dataformat/bindy/kvp/bindyKvp.json | 4 ++-- .../java/org/apache/camel/dataformat/bindy/UnicodeHelperTest.java | 2 -- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindyCsv.json b/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindyCsv.json index a65643d..e3c2a06 100644 --- a/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindyCsv.json +++ b/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindyCsv.json @@ -18,9 +18,9 @@ "properties": { "type": { "kind": "attribute", "displayName": "Type", "required": true, "type": "enum", "javaType": "org.apache.camel.model.dataformat.BindyType", "enum": [ "Csv", "Fixed", "KeyValue" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Csv", "description": "Whether to use Csv, Fixed, or KeyValue." }, "classType": { "kind": "attribute", "displayName": "Class Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of model class to use." }, + "locale": { "kind": "attribute", "displayName": "Locale", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default" }, + "unwrapSingleInstance": { "kind": "attribute", "displayName": "Unwrap Single Instance", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List." }, "allowEmptyStream": { "kind": "attribute", "displayName": "Allow Empty Stream", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided." }, - "unwrapSingleInstance": { "kind": "attribute", "displayName": "Unwrap Single Instance", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List." }, - "locale": { "kind": "attribute", "displayName": "Locale", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } } diff --git a/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/fixed/bindyFixed.json b/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/fixed/bindyFixed.json index 65e0643..f9eed6f 100644 --- a/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/fixed/bindyFixed.json +++ b/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/fixed/bindyFixed.json @@ -18,9 +18,9 @@ "properties": { "type": { "kind": "attribute", "displayName": "Type", "required": true, "type": "enum", "javaType": "org.apache.camel.model.dataformat.BindyType", "enum": [ "Csv", "Fixed", "KeyValue" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "Fixed", "description": "Whether to use Csv, Fixed, or KeyValue." }, "classType": { "kind": "attribute", "displayName": "Class Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of model class to use." }, + "locale": { "kind": "attribute", "displayName": "Locale", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default" }, + "unwrapSingleInstance": { "kind": "attribute", "displayName": "Unwrap Single Instance", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List." }, "allowEmptyStream": { "kind": "attribute", "displayName": "Allow Empty Stream", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided." }, - "unwrapSingleInstance": { "kind": "attribute", "displayName": "Unwrap Single Instance", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List." }, - "locale": { "kind": "attribute", "displayName": "Locale", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } } diff --git a/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/kvp/bindyKvp.json b/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/kvp/bindyKvp.json index 0bab368..ddbdfd6 100644 --- a/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/kvp/bindyKvp.json +++ b/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/kvp/bindyKvp.json @@ -18,9 +18,9 @@ "properties": { "type": { "kind": "attribute", "displayName": "Type", "required": true, "type": "enum", "javaType": "org.apache.camel.model.dataformat.BindyType", "enum": [ "Csv", "Fixed", "KeyValue" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "KeyValue", "description": "Whether to use Csv, Fixed, or KeyValue." }, "classType": { "kind": "attribute", "displayName": "Class Type", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of model class to use." }, + "locale": { "kind": "attribute", "displayName": "Locale", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default" }, + "unwrapSingleInstance": { "kind": "attribute", "displayName": "Unwrap Single Instance", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List." }, "allowEmptyStream": { "kind": "attribute", "displayName": "Allow Empty Stream", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without records is provided." }, - "unwrapSingleInstance": { "kind": "attribute", "displayName": "Unwrap Single Instance", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List." }, - "locale": { "kind": "attribute", "displayName": "Locale", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the name default" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } } diff --git a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/UnicodeHelperTest.java b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/UnicodeHelperTest.java index e82c8df..42f0389 100644 --- a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/UnicodeHelperTest.java +++ b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/UnicodeHelperTest.java @@ -16,8 +16,6 @@ */ package org.apache.camel.dataformat.bindy; -import java.io.FileNotFoundException; -import java.io.IOException; import java.util.Arrays; import java.util.stream.Collectors;
