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/08/21 11:55:46 UTC
[camel] 07/14: Regen
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch ds
in repository https://gitbox.apache.org/repos/asf/camel.git
commit fca2cccbd50ac6251175a855dbe3c8249095233f
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Aug 21 06:28:04 2023 +0200
Regen
---
.../org/apache/camel/test/junit5/params/ParameterizedExtension.java | 3 +--
.../src/main/java/org/apache/camel/tooling/util/Strings.java | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/params/ParameterizedExtension.java b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/params/ParameterizedExtension.java
index 4751276be23..ee2fc3006cf 100644
--- a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/params/ParameterizedExtension.java
+++ b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/params/ParameterizedExtension.java
@@ -144,8 +144,7 @@ public class ParameterizedExtension implements TestTemplateInvocationContextProv
}
private ParameterContext getContext() throws NoSuchMethodException {
- Executable executable =
- this.getClass().getConstructor(Object[].class).getParameters()[0].getDeclaringExecutable();
+ Executable executable = this.getClass().getConstructor(Object[].class).getParameters()[0].getDeclaringExecutable();
ParameterContext parameterContext = mock(ParameterContext.class);
when(parameterContext.getDeclaringExecutable()).thenReturn(executable);
return parameterContext;
diff --git a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/Strings.java b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/Strings.java
index e5bb748b333..2827cdaf0ef 100644
--- a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/Strings.java
+++ b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/Strings.java
@@ -237,8 +237,8 @@ public final class Strings {
/**
* A simpler version of StringHelper#capitlize for usage in the tooling code
*
- * @param text the string
- * @return the string capitalized (upper case first character) or null if the input is null
+ * @param text the string
+ * @return the string capitalized (upper case first character) or null if the input is null
*/
public static String capitalize(final String text) {
if (text == null) {