This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 70b72ca294 Remove superfluous public access modifer and comments from
extension test template
70b72ca294 is described below
commit 70b72ca29448e4833f4f83027352d5b62b57174c
Author: James Netherton <[email protected]>
AuthorDate: Thu Dec 4 08:14:43 2025 +0000
Remove superfluous public access modifer and comments from extension test
template
---
tooling/create-extension-templates/Test.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tooling/create-extension-templates/Test.java
b/tooling/create-extension-templates/Test.java
index ca11a9bb2e..9eb8cbb840 100644
--- a/tooling/create-extension-templates/Test.java
+++ b/tooling/create-extension-templates/Test.java
@@ -28,12 +28,12 @@ class [=toCapCamelCase(artifactIdBase)]Test {
[#if nativeSupported ]
@Test
- public void test() {
+ void test() {
final String msg = java.util.UUID.randomUUID().toString().replace("-",
"");
- RestAssured.given() //
+ RestAssured.given()
.contentType(ContentType.TEXT)
.body(msg)
- .post("/[=artifactIdBase]/post") //
+ .post("/[=artifactIdBase]/post")
.then()
.statusCode(201);
@@ -46,7 +46,7 @@ class [=toCapCamelCase(artifactIdBase)]Test {
[#else]
[#list models as model]
@Test
- public void
load[=toCapCamelCase(model.kind)][=toCapCamelCase(model.name)]() {
+ void load[=toCapCamelCase(model.kind)][=toCapCamelCase(model.name)]() {
/* A simple autogenerated test */
RestAssured.get("/[=artifactIdBase]/load/[=model.kind]/[=toKebabCase(model.name)]")
.then()