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 2019/12/28 11:17:41 UTC

[camel] 02/02: Avoid non singleton endpoints and polish code

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

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

commit 455618bb658dba6beb3885b36b2b1cb12c15d2ef
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Dec 28 12:14:42 2019 +0100

    Avoid non singleton endpoints and polish code
---
 .../src/main/java/org/apache/camel/component/jmx/JMXEndpoint.java    | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/JMXEndpoint.java b/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/JMXEndpoint.java
index ab5824f..1dda0e8 100644
--- a/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/JMXEndpoint.java
+++ b/components/camel-jmx/src/main/java/org/apache/camel/component/jmx/JMXEndpoint.java
@@ -283,11 +283,6 @@ public class JMXEndpoint extends DefaultEndpoint {
         throw new UnsupportedOperationException("producing JMX notifications is not supported");
     }
 
-    @Override
-    public boolean isSingleton() {
-        return false;
-    }
-
     public String getFormat() {
         return format;
     }