Updated Branches:
  refs/heads/camel-2.11.x 117257096 -> b1a7eafe9
  refs/heads/camel-2.12.x f1f69f00c -> b5a166f9e
  refs/heads/master 2119a095b -> 4e9f47649


CAMEL-6835 Polish the javadoc of CamelBlueprintTestSupport as Claus suggested


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

Branch: refs/heads/master
Commit: 4e9f476492a310cfa7a06e5e59eb3c02d0a9fa7a
Parents: 2119a09
Author: Willem Jiang <ningji...@apache.org>
Authored: Tue Oct 8 14:54:21 2013 +0800
Committer: Willem Jiang <ningji...@apache.org>
Committed: Tue Oct 8 14:54:21 2013 +0800

----------------------------------------------------------------------
 .../camel/test/blueprint/CamelBlueprintTestSupport.java     | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4e9f4764/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
----------------------------------------------------------------------
diff --git 
a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
 
b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
index 8c5bd00..315ffa9 100644
--- 
a/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
+++ 
b/components/camel-test-blueprint/src/main/java/org/apache/camel/test/blueprint/CamelBlueprintTestSupport.java
@@ -48,8 +48,13 @@ public abstract class CamelBlueprintTestSupport extends 
CamelTestSupport {
     private volatile BundleContext bundleContext;
     private final Set<ServiceRegistration<?>> services = new 
LinkedHashSet<ServiceRegistration<?>>();
     
-    // CamelBlueprintTestSupport creates the test bundle which includes 
blueprint configuration files if the value is true
-    // You can override the return value to false if you already has the test 
bundle in your class path
+    /**
+     * Override this method if you don't want CamelBlueprintTestSupport create 
the test bundle
+     * @return includeTestBundle
+     * If the return value is true CamelBlueprintTestSupport creates the test 
bundle which includes blueprint configuration files
+     * If the return value is false CamelBlueprintTestSupport won't create the 
test bundle
+     * 
+     */
     protected boolean includeTestBundle() {
         return true;
     }

Reply via email to