You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/11/19 08:21:51 UTC

[camel] branch master updated: Camel-Resilience4j Example: Fixed CS

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c4ab6e  Camel-Resilience4j Example: Fixed CS
2c4ab6e is described below

commit 2c4ab6ed9f8746a7772d8baf6a035d5c68bbad76
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Nov 19 09:21:19 2019 +0100

    Camel-Resilience4j Example: Fixed CS
---
 .../client/src/main/java/sample/camel/ClientApplication.java         | 5 ++++-
 .../client2/src/main/java/sample/camel/Client2Application.java       | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/examples/camel-example-resilience4j/client/src/main/java/sample/camel/ClientApplication.java b/examples/camel-example-resilience4j/client/src/main/java/sample/camel/ClientApplication.java
index bda2eab..1c493cd 100644
--- a/examples/camel-example-resilience4j/client/src/main/java/sample/camel/ClientApplication.java
+++ b/examples/camel-example-resilience4j/client/src/main/java/sample/camel/ClientApplication.java
@@ -23,7 +23,10 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
  * A Spring Boot application that runs the Camel Resilience client application that calls service 1 and service 2 (as fallback)
  */
 @SpringBootApplication
-public class ClientApplication {
+public final class ClientApplication {
+
+    private ClientApplication() {
+    }
 
     /**
      * A main method to start this application.
diff --git a/examples/camel-example-resilience4j/client2/src/main/java/sample/camel/Client2Application.java b/examples/camel-example-resilience4j/client2/src/main/java/sample/camel/Client2Application.java
index e477d54..89d6340 100644
--- a/examples/camel-example-resilience4j/client2/src/main/java/sample/camel/Client2Application.java
+++ b/examples/camel-example-resilience4j/client2/src/main/java/sample/camel/Client2Application.java
@@ -21,7 +21,10 @@ import org.apache.camel.main.Main;
 /**
  * A Camel Main application that runs the Camel Resilience client application that calls service 1 and service 2 (as fallback)
  */
-public class Client2Application {
+public final class Client2Application {
+
+    private Client2Application() {
+    }
 
     public static void main(String[] args) throws Exception {
         Main main = new Main();