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/03/27 06:59:26 UTC

[camel] branch master updated: Camel-Example-Main: 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 b8152b8  Camel-Example-Main: Fixed CS
b8152b8 is described below

commit b8152b8d4fb76cc9f3a5a14249e75ade3699dff5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Mar 27 07:58:43 2019 +0100

    Camel-Example-Main: Fixed CS
---
 .../src/main/java/org/apache/camel/example/StandaloneCamel.java      | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/examples/camel-example-main/src/main/java/org/apache/camel/example/StandaloneCamel.java b/examples/camel-example-main/src/main/java/org/apache/camel/example/StandaloneCamel.java
index c7c9889..9411a3a 100644
--- a/examples/camel-example-main/src/main/java/org/apache/camel/example/StandaloneCamel.java
+++ b/examples/camel-example-main/src/main/java/org/apache/camel/example/StandaloneCamel.java
@@ -27,7 +27,10 @@ import org.apache.camel.impl.DefaultCamelContext;
  * Compare this example with {@link MyApplication} which uses Camel's main class to
  * run Camel standalone in a easier way.
  */
-public class StandaloneCamel {
+public final class StandaloneCamel {
+
+    private StandaloneCamel() {
+    }
 
     public static void main(String[] args) throws Exception {
         // create a new CamelContext