This is an automated email from the ASF dual-hosted git repository. gzurowski 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 27f8b999942 [Minor] Apply formatter 27f8b999942 is described below commit 27f8b999942a1ca4556f7ac19984d98532ccbddf Author: Gregor Zurowski <gre...@zurowski.org> AuthorDate: Fri Mar 24 15:24:18 2023 +0100 [Minor] Apply formatter --- .../java/org/apache/camel/avro/generated/Key.java | 26 +++++++++++----------- .../camel/avro/generated/KeyValueProtocol.java | 2 +- .../org/apache/camel/avro/generated/Value.java | 26 +++++++++++----------- 3 files changed, 27 insertions(+), 27 deletions(-) diff --git a/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/Key.java b/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/Key.java index b49a25f2f4e..503501a1d74 100644 --- a/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/Key.java +++ b/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/Key.java @@ -17,23 +17,23 @@ // CHECKSTYLE:OFF /** * Autogenerated by Avro - * + * * DO NOT EDIT DIRECTLY */ -package org.apache.camel.avro.generated; +package org.apache.camel.avro.generated; @SuppressWarnings("all") public class Key extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"Key\",\"namespace\":\"org.apache.camel.avro.generated\",\"fields\":[{\"name\":\"key\",\"type\":\"string\"}]}"); @Deprecated public java.lang.CharSequence key; public org.apache.avro.Schema getSchema() { return SCHEMA$; } - // Used by DatumWriter. Applications should not call. + // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return key; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } - // Used by DatumReader. Applications should not call. + // Used by DatumReader. Applications should not call. @SuppressWarnings(value="unchecked") public void put(int field$, java.lang.Object value$) { switch (field$) { @@ -61,17 +61,17 @@ public class Key extends org.apache.avro.specific.SpecificRecordBase implements public static org.apache.camel.avro.generated.Key.Builder newBuilder() { return new org.apache.camel.avro.generated.Key.Builder(); } - + /** Creates a new Key RecordBuilder by copying an existing Builder */ public static org.apache.camel.avro.generated.Key.Builder newBuilder(org.apache.camel.avro.generated.Key.Builder other) { return new org.apache.camel.avro.generated.Key.Builder(other); } - + /** Creates a new Key RecordBuilder by copying an existing Key instance */ public static org.apache.camel.avro.generated.Key.Builder newBuilder(org.apache.camel.avro.generated.Key other) { return new org.apache.camel.avro.generated.Key.Builder(other); } - + /** * RecordBuilder for Key instances. */ @@ -84,12 +84,12 @@ public class Key extends org.apache.avro.specific.SpecificRecordBase implements private Builder() { super(org.apache.camel.avro.generated.Key.SCHEMA$); } - + /** Creates a Builder by copying an existing Builder */ private Builder(org.apache.camel.avro.generated.Key.Builder other) { super(other); } - + /** Creates a Builder by copying an existing Key instance */ private Builder(org.apache.camel.avro.generated.Key other) { super(org.apache.camel.avro.generated.Key.SCHEMA$); @@ -103,20 +103,20 @@ public class Key extends org.apache.avro.specific.SpecificRecordBase implements public java.lang.CharSequence getKey() { return key; } - + /** Sets the value of the 'key' field */ public org.apache.camel.avro.generated.Key.Builder setKey(java.lang.CharSequence value) { validate(fields()[0], value); this.key = value; fieldSetFlags()[0] = true; - return this; + return this; } - + /** Checks whether the 'key' field has been set */ public boolean hasKey() { return fieldSetFlags()[0]; } - + /** Clears the value of the 'key' field */ public org.apache.camel.avro.generated.Key.Builder clearKey() { key = null; diff --git a/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/KeyValueProtocol.java b/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/KeyValueProtocol.java index 340b97263b5..7eab6479670 100644 --- a/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/KeyValueProtocol.java +++ b/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/KeyValueProtocol.java @@ -17,7 +17,7 @@ // CHECKSTYLE:OFF /** * Autogenerated by Avro - * + * * DO NOT EDIT DIRECTLY */ package org.apache.camel.avro.generated; diff --git a/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/Value.java b/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/Value.java index a1533ee6125..8e0dae0c3d6 100644 --- a/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/Value.java +++ b/components/camel-avro-rpc/camel-avro-rpc-component/src/test/java/org/apache/camel/avro/generated/Value.java @@ -17,23 +17,23 @@ // CHECKSTYLE:OFF /** * Autogenerated by Avro - * + * * DO NOT EDIT DIRECTLY */ -package org.apache.camel.avro.generated; +package org.apache.camel.avro.generated; @SuppressWarnings("all") public class Value extends org.apache.avro.specific.SpecificRecordBase implements org.apache.avro.specific.SpecificRecord { public static final org.apache.avro.Schema SCHEMA$ = org.apache.avro.Schema.parse("{\"type\":\"record\",\"name\":\"Value\",\"namespace\":\"org.apache.camel.avro.generated\",\"fields\":[{\"name\":\"value\",\"type\":\"string\"}]}"); @Deprecated public java.lang.CharSequence value; public org.apache.avro.Schema getSchema() { return SCHEMA$; } - // Used by DatumWriter. Applications should not call. + // Used by DatumWriter. Applications should not call. public java.lang.Object get(int field$) { switch (field$) { case 0: return value; default: throw new org.apache.avro.AvroRuntimeException("Bad index"); } } - // Used by DatumReader. Applications should not call. + // Used by DatumReader. Applications should not call. @SuppressWarnings(value="unchecked") public void put(int field$, java.lang.Object value$) { switch (field$) { @@ -61,17 +61,17 @@ public class Value extends org.apache.avro.specific.SpecificRecordBase implement public static org.apache.camel.avro.generated.Value.Builder newBuilder() { return new org.apache.camel.avro.generated.Value.Builder(); } - + /** Creates a new Value RecordBuilder by copying an existing Builder */ public static org.apache.camel.avro.generated.Value.Builder newBuilder(org.apache.camel.avro.generated.Value.Builder other) { return new org.apache.camel.avro.generated.Value.Builder(other); } - + /** Creates a new Value RecordBuilder by copying an existing Value instance */ public static org.apache.camel.avro.generated.Value.Builder newBuilder(org.apache.camel.avro.generated.Value other) { return new org.apache.camel.avro.generated.Value.Builder(other); } - + /** * RecordBuilder for Value instances. */ @@ -84,12 +84,12 @@ public class Value extends org.apache.avro.specific.SpecificRecordBase implement private Builder() { super(org.apache.camel.avro.generated.Value.SCHEMA$); } - + /** Creates a Builder by copying an existing Builder */ private Builder(org.apache.camel.avro.generated.Value.Builder other) { super(other); } - + /** Creates a Builder by copying an existing Value instance */ private Builder(org.apache.camel.avro.generated.Value other) { super(org.apache.camel.avro.generated.Value.SCHEMA$); @@ -103,20 +103,20 @@ public class Value extends org.apache.avro.specific.SpecificRecordBase implement public java.lang.CharSequence getValue() { return value; } - + /** Sets the value of the 'value' field */ public org.apache.camel.avro.generated.Value.Builder setValue(java.lang.CharSequence value) { validate(fields()[0], value); this.value = value; fieldSetFlags()[0] = true; - return this; + return this; } - + /** Checks whether the 'value' field has been set */ public boolean hasValue() { return fieldSetFlags()[0]; } - + /** Clears the value of the 'value' field */ public org.apache.camel.avro.generated.Value.Builder clearValue() { value = null;