This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push: new fda6df9 Added a commit to explain why duoble trait.apply is used in RuntimeSupport.java fda6df9 is described below commit fda6df96379f3110c6198a03944e7085001aa73b Author: Andrea Tarocchi <ataro...@redhat.com> AuthorDate: Thu Jan 24 14:56:31 2019 +0100 Added a commit to explain why duoble trait.apply is used in RuntimeSupport.java --- .../src/main/java/org/apache/camel/k/support/RuntimeSupport.java | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/camel-k-runtime-core/src/main/java/org/apache/camel/k/support/RuntimeSupport.java b/runtime/camel-k-runtime-core/src/main/java/org/apache/camel/k/support/RuntimeSupport.java index 7bee678..59c6bf6 100644 --- a/runtime/camel-k-runtime-core/src/main/java/org/apache/camel/k/support/RuntimeSupport.java +++ b/runtime/camel-k-runtime-core/src/main/java/org/apache/camel/k/support/RuntimeSupport.java @@ -55,6 +55,7 @@ public final class RuntimeSupport { // ignored } + //this is to initialize all traits that might be already present in the context injected by other means. context.getRegistry().findByTypeWithName(RuntimeTrait.class).forEach( (traitId, trait) -> configureContext(context, traitId, trait) );