Updated Branches:
  refs/heads/master 5f3fa8aa0 -> 78f68b310

CAMEL-7006 Make method asService protected in class CamelBlueprintTestSupport 
with thanks to Stephane


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

Branch: refs/heads/master
Commit: 78f68b31039305907fd0fd4062d63202948a3848
Parents: 5f3fa8a
Author: Willem Jiang <willem.ji...@gmail.com>
Authored: Tue Nov 26 14:30:19 2013 +0800
Committer: Willem Jiang <willem.ji...@gmail.com>
Committed: Tue Nov 26 14:30:19 2013 +0800

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


http://git-wip-us.apache.org/repos/asf/camel/blob/78f68b31/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 315ffa9..96a5954 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
@@ -154,14 +154,14 @@ public abstract class CamelBlueprintTestSupport extends 
CamelTestSupport {
     /**
      * Creates a holder for the given service, which make it easier to use 
{@link #addServicesOnStartup(java.util.Map)}
      */
-    KeyValueHolder<Object, Dictionary> asService(Object service, Dictionary 
dict) {
+    protected KeyValueHolder<Object, Dictionary> asService(Object service, 
Dictionary dict) {
         return new KeyValueHolder<Object, Dictionary>(service, dict);
     }
 
     /**
      * Creates a holder for the given service, which make it easier to use 
{@link #addServicesOnStartup(java.util.Map)}
      */
-    KeyValueHolder<Object, Dictionary> asService(Object service, String key, 
String value) {
+    protected KeyValueHolder<Object, Dictionary> asService(Object service, 
String key, String value) {
         Properties prop = new Properties();
         if (key != null && value != null) {
             prop.put(key, value);

Reply via email to