tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject [1/2] incubator-tamaya git commit: TAMAYA-39 Renamed ConfigurationContext#current() to ConfigurationContext#context().
Date Tue, 06 Jan 2015 23:07:24 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master a1f85650f -> 5f109da47


TAMAYA-39 Renamed ConfigurationContext#current() to ConfigurationContext#context().


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/5f109da4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/5f109da4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/5f109da4

Branch: refs/heads/master
Commit: 5f109da47dd15b36ceea9bc5788e02690a54231a
Parents: 40c671e
Author: Oliver B. Fischer <plexus@apache.org>
Authored: Wed Jan 7 00:06:39 2015 +0100
Committer: Oliver B. Fischer <plexus@apache.org>
Committed: Wed Jan 7 00:07:19 2015 +0100

----------------------------------------------------------------------
 api/src/main/java/org/apache/tamaya/spi/ConfigurationContext.java  | 2 +-
 .../tamaya/modules/json/JSONPropertySourceConfigurationTest.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/5f109da4/api/src/main/java/org/apache/tamaya/spi/ConfigurationContext.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/tamaya/spi/ConfigurationContext.java b/api/src/main/java/org/apache/tamaya/spi/ConfigurationContext.java
index 5c502cf..7b51717 100644
--- a/api/src/main/java/org/apache/tamaya/spi/ConfigurationContext.java
+++ b/api/src/main/java/org/apache/tamaya/spi/ConfigurationContext.java
@@ -138,7 +138,7 @@ public interface ConfigurationContext {
      */
     List<PropertyFilter> getPropertyFilters();
 
-    public static ConfigurationContext current(){
+    public static ConfigurationContext context(){
         return ServiceContext.getInstance().getService(ConfigurationContext.class).get();
     }
 

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/5f109da4/modules/json/src/test/java/org/apache/tamaya/modules/json/JSONPropertySourceConfigurationTest.java
----------------------------------------------------------------------
diff --git a/modules/json/src/test/java/org/apache/tamaya/modules/json/JSONPropertySourceConfigurationTest.java
b/modules/json/src/test/java/org/apache/tamaya/modules/json/JSONPropertySourceConfigurationTest.java
index 1a4c151..5d77489 100644
--- a/modules/json/src/test/java/org/apache/tamaya/modules/json/JSONPropertySourceConfigurationTest.java
+++ b/modules/json/src/test/java/org/apache/tamaya/modules/json/JSONPropertySourceConfigurationTest.java
@@ -43,7 +43,7 @@ public class JSONPropertySourceConfigurationTest {
 
         assertThat(source.getProperties().keySet(), hasSize(3));
 
-        ConfigurationContext context = ConfigurationContext.current();
+        ConfigurationContext context = ConfigurationContext.context();
 
         context.addPropertySources(source);
 


Mime
View raw message