camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject camel git commit: Resolve the deprecated API usage of Builder#property().
Date Sat, 04 Apr 2015 14:25:26 GMT
Repository: camel
Updated Branches:
  refs/heads/master d0fb487b9 -> 05731d305


Resolve the deprecated API usage of Builder#property().

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

Branch: refs/heads/master
Commit: 05731d305119d9fbb5f7d6627b75298de87c6edd
Parents: d0fb487
Author: Babak Vahdat <bvahdat@apache.org>
Authored: Sat Apr 4 16:25:04 2015 +0200
Committer: Babak Vahdat <bvahdat@apache.org>
Committed: Sat Apr 4 16:25:04 2015 +0200

----------------------------------------------------------------------
 camel-core/src/test/java/org/apache/camel/TestSupport.java         | 2 +-
 .../src/main/java/org/apache/camel/test/TestSupport.java           | 2 +-
 .../src/main/java/org/apache/camel/test/junit4/TestSupport.java    | 2 +-
 .../src/main/java/org/apache/camel/testng/TestSupport.java         | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/05731d30/camel-core/src/test/java/org/apache/camel/TestSupport.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/TestSupport.java b/camel-core/src/test/java/org/apache/camel/TestSupport.java
index dca6532..ed76051 100644
--- a/camel-core/src/test/java/org/apache/camel/TestSupport.java
+++ b/camel-core/src/test/java/org/apache/camel/TestSupport.java
@@ -76,7 +76,7 @@ public abstract class TestSupport extends TestCase {
      * Returns a value builder for the given property
      */
     public static ValueBuilder property(String name) {
-        return Builder.property(name);
+        return Builder.exchangeProperty(name);
     }
 
     /**

http://git-wip-us.apache.org/repos/asf/camel/blob/05731d30/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java
----------------------------------------------------------------------
diff --git a/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java b/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java
index 99c13f7..dac93c4 100644
--- a/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java
+++ b/components/camel-test/src/main/java/org/apache/camel/test/TestSupport.java
@@ -88,7 +88,7 @@ public abstract class TestSupport extends TestCase {
      * Returns a value builder for the given property
      */
     public static ValueBuilder property(String name) {
-        return Builder.property(name);
+        return Builder.exchangeProperty(name);
     }    
     
     /**

http://git-wip-us.apache.org/repos/asf/camel/blob/05731d30/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java
----------------------------------------------------------------------
diff --git a/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java
b/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java
index caf7ce1..8a4c39a 100644
--- a/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java
+++ b/components/camel-test/src/main/java/org/apache/camel/test/junit4/TestSupport.java
@@ -71,7 +71,7 @@ public abstract class TestSupport extends Assert {
      * Returns a value builder for the given property
      */
     public static ValueBuilder property(String name) {
-        return Builder.property(name);
+        return Builder.exchangeProperty(name);
     }    
     
     /**

http://git-wip-us.apache.org/repos/asf/camel/blob/05731d30/components/camel-testng/src/main/java/org/apache/camel/testng/TestSupport.java
----------------------------------------------------------------------
diff --git a/components/camel-testng/src/main/java/org/apache/camel/testng/TestSupport.java
b/components/camel-testng/src/main/java/org/apache/camel/testng/TestSupport.java
index 4fbc0b8..98f0420 100644
--- a/components/camel-testng/src/main/java/org/apache/camel/testng/TestSupport.java
+++ b/components/camel-testng/src/main/java/org/apache/camel/testng/TestSupport.java
@@ -66,7 +66,7 @@ public abstract class TestSupport extends Assert {
      * Returns a value builder for the given property
      */
     public static ValueBuilder property(String name) {
-        return Builder.property(name);
+        return Builder.exchangeProperty(name);
     }
 
     /**


Mime
View raw message