[camel] branch main updated: correct typo and polish test

2023-05-22 Thread bvahdat
This is an automated email from the ASF dual-hosted git repository.

bvahdat 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 79d6bd20cb8 correct typo and polish test
79d6bd20cb8 is described below

commit 79d6bd20cb8d125f6f3bf76bb25f7338894ad7d1
Author: Babak Vahdat 
AuthorDate: Mon May 22 09:36:28 2023 +0200

correct typo and polish test
---
 .../org/apache/camel/component/jsonvalidator/JsonSchemaLoader.java| 2 +-
 .../camel/component/jsonvalidator/JsonValidationExceptionTest.java| 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonSchemaLoader.java
 
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonSchemaLoader.java
index 8ba89244bc3..e36247d0244 100644
--- 
a/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonSchemaLoader.java
+++ 
b/components/camel-json-validator/src/main/java/org/apache/camel/component/jsonvalidator/JsonSchemaLoader.java
@@ -24,7 +24,7 @@ import org.apache.camel.CamelContext;
 /**
  * Can be used to create custom schema for the JSON validator endpoint.
  *
- * @deprecated Use UriJsonSchemaLoader instead
+ * @deprecated Use JsonUriSchemaLoader instead
  */
 @Deprecated
 public interface JsonSchemaLoader {
diff --git 
a/components/camel-json-validator/src/test/java/org/apache/camel/component/jsonvalidator/JsonValidationExceptionTest.java
 
b/components/camel-json-validator/src/test/java/org/apache/camel/component/jsonvalidator/JsonValidationExceptionTest.java
index 06d511e0ca8..7d4110db462 100644
--- 
a/components/camel-json-validator/src/test/java/org/apache/camel/component/jsonvalidator/JsonValidationExceptionTest.java
+++ 
b/components/camel-json-validator/src/test/java/org/apache/camel/component/jsonvalidator/JsonValidationExceptionTest.java
@@ -17,7 +17,6 @@
 package org.apache.camel.component.jsonvalidator;
 
 import java.text.MessageFormat;
-import java.util.Collections;
 import java.util.LinkedHashSet;
 import java.util.Set;
 
@@ -25,7 +24,6 @@ import com.networknt.schema.ValidationMessage;
 import org.junit.jupiter.api.Test;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertSame;
 
 public class JsonValidationExceptionTest {
 
@@ -41,7 +39,7 @@ public class JsonValidationExceptionTest {
 
 @Test
 void testErrorsEmpty() {
-assertSame(Collections.EMPTY_SET, new JsonValidationException(null, 
null, new Exception()).getErrors());
+assertEquals(0, new JsonValidationException(null, null, new 
Exception()).getNumberOfErrors());
 }
 
 private ValidationMessage createError(String msg) {



[camel] branch main updated: correct typo

2022-12-26 Thread bvahdat
This is an automated email from the ASF dual-hosted git repository.

bvahdat 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 d972b6b67ca correct typo
d972b6b67ca is described below

commit d972b6b67cacde26ae4624399fbf92b3927ef6d7
Author: Babak Vahdat 
AuthorDate: Mon Dec 26 19:02:01 2022 +0100

correct typo
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 4ad78861bc1..c4bb056940c 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -8,7 +8,7 @@
 (the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at
 
- ttp://www.apache.org/licenses/LICENSE-2.0
+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,



[camel] branch main updated: correct typo

2022-12-15 Thread bvahdat
This is an automated email from the ASF dual-hosted git repository.

bvahdat 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 64c11904ae0 correct typo
64c11904ae0 is described below

commit 64c11904ae02ae53dbd0852621a93227dadadb72
Author: Babak Vahdat 
AuthorDate: Thu Dec 15 21:07:20 2022 +0100

correct typo
---
 camel-dependencies/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 10dbd834901..afb39eeb97f 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -443,7 +443,7 @@
 3.2.2
 3.10
 
${opentelemetry-version}-alpha
-1.21.0<
+1.21.0
 
0.1.8
 0.33.0
 8.31.1.Final