You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by an...@apache.org on 2016/02/17 01:21:10 UTC

[5/5] incubator-tamaya git commit: Fixed compile issues due to extended constructor for ConversionContext.

Fixed compile issues due to extended constructor for ConversionContext.


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

Branch: refs/heads/master
Commit: f50397f3e1966b52cf243a564f21ff5725ebd81c
Parents: 370c44d
Author: anatole <an...@apache.org>
Authored: Wed Feb 17 01:20:47 2016 +0100
Committer: anatole <an...@apache.org>
Committed: Wed Feb 17 01:20:47 2016 +0100

----------------------------------------------------------------------
 .../org/aspache/tamaya/examples/fileobserver/TestConfigView.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/f50397f3/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java
----------------------------------------------------------------------
diff --git a/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java b/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java
index 75752cf..060c61e 100644
--- a/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java
+++ b/examples/6-fileobserver-example/src/test/java/org/aspache/tamaya/examples/fileobserver/TestConfigView.java
@@ -116,7 +116,7 @@ public class TestConfigView implements ConfigOperator{
                     List<PropertyConverter<T>> converters = ConfigurationProvider.getConfigurationContext()
                             .getPropertyConverters(type);
                     ConversionContext ctx = new ConversionContext.Builder(ConfigurationProvider.getConfiguration(),
-                            key, type).build();
+                            ConfigurationProvider.getConfigurationContext(), key, type).build();
                     for (PropertyConverter<T> converter : converters) {
                         try {
                             T t = converter.convert(value, ctx);