camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [1/3] git commit: CAMEL-7006 Make method asService protected in class CamelBlueprintTestSupport with thanks to Stephane
Date Tue, 26 Nov 2013 07:20:50 GMT
Updated Branches:
  refs/heads/camel-2.11.x 35e97008a -> c489449af
  refs/heads/camel-2.12.x cbbcda822 -> a993a0efd


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/a993a0ef
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a993a0ef
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a993a0ef

Branch: refs/heads/camel-2.12.x
Commit: a993a0efd1484731d4bf33dbdbcb3670828584e5
Parents: 1d16283
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue Nov 26 14:30:19 2013 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue Nov 26 15:18:29 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/a993a0ef/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);


Mime
View raw message