camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject camel git commit: CAMEL-11643: Extensions: registerExtension method has to avoid final in his declaration to work in CDI
Date Mon, 07 Aug 2017 09:35:45 GMT
Repository: camel
Updated Branches:
  refs/heads/master 640547847 -> 151dd78ba


CAMEL-11643: Extensions: registerExtension method has to avoid final in his declaration to
work in CDI


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/151dd78b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/151dd78b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/151dd78b

Branch: refs/heads/master
Commit: 151dd78babe5f5674aa5f673d9e9257c7f1a3ed5
Parents: 6405478
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Mon Aug 7 11:35:15 2017 +0200
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Mon Aug 7 11:35:15 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/impl/DefaultComponent.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/151dd78b/camel-core/src/main/java/org/apache/camel/impl/DefaultComponent.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultComponent.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultComponent.java
index e8d994e..8acd2e8 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultComponent.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultComponent.java
@@ -486,11 +486,11 @@ public abstract class DefaultComponent extends ServiceSupport implements
Compone
         return null;
     }
 
-    protected final void registerExtension(ComponentExtension extension) {
+    protected void registerExtension(ComponentExtension extension) {
         extensions.add(() -> extension);
     }
 
-    protected final void registerExtension(Supplier<ComponentExtension> supplier) {
+    protected void registerExtension(Supplier<ComponentExtension> supplier) {
         extensions.add(Suppliers.memorize(supplier));
     }
 


Mime
View raw message