tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject [40/50] [abbrv] incubator-tamaya-sandbox git commit: Fixed deprecated calls, some javadoc issues.
Date Sun, 25 Sep 2016 21:24:28 GMT
Fixed deprecated calls, some javadoc issues.


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

Branch: refs/heads/master
Commit: fdeb76bc22bd0b81db8433591a11069ff92821b0
Parents: 3c667de
Author: anatole <anatole@apache.org>
Authored: Tue Mar 15 08:39:07 2016 +0100
Committer: anatole <anatole@apache.org>
Committed: Tue Mar 15 08:39:07 2016 +0100

----------------------------------------------------------------------
 .../org/apache/tamaya/builder/ConfigurationBuilderTest.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya-sandbox/blob/fdeb76bc/src/test/java/org/apache/tamaya/builder/ConfigurationBuilderTest.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/tamaya/builder/ConfigurationBuilderTest.java b/src/test/java/org/apache/tamaya/builder/ConfigurationBuilderTest.java
index 43196f7..07a72c5 100644
--- a/src/test/java/org/apache/tamaya/builder/ConfigurationBuilderTest.java
+++ b/src/test/java/org/apache/tamaya/builder/ConfigurationBuilderTest.java
@@ -370,8 +370,7 @@ public class ConfigurationBuilderTest {
     @Test(expected = NullPointerException.class)
     public void canNotAddNullAsPropertyFilter() {
         ConfigurationBuilder builder = new ConfigurationBuilder();
-
-        builder.addPropertyFilters(null);
+        builder.addPropertyFilters((PropertyFilter[])null);
     }
 
     @Test
@@ -505,7 +504,7 @@ public class ConfigurationBuilderTest {
 
     @Test(expected = NullPointerException.class)
     public void cannotAddNullAsPropertyProvider() {
-        new ConfigurationBuilder().addPropertySourceProviders(null);
+        new ConfigurationBuilder().addPropertySourceProviders((PropertySourceProvider[])null);
     }
 
     @Test


Mime
View raw message