tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anat...@apache.org
Subject incubator-tamaya git commit: Removed Java8 deps in Java 7 part, fixed maven pom JDK version dep in Java 7 area (thanks to @pmascha).
Date Wed, 29 Apr 2015 19:46:17 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master f91bcd357 -> 994f5ffd0


Removed Java8 deps in Java 7 part, fixed maven pom JDK version dep in Java 7 area (thanks
to @pmascha).


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

Branch: refs/heads/master
Commit: 994f5ffd018cd9381c9dd3f854e0fa4a44115e58
Parents: f91bcd3
Author: anatole <anatole@apache.org>
Authored: Wed Apr 29 21:45:43 2015 +0200
Committer: anatole <anatole@apache.org>
Committed: Wed Apr 29 21:45:43 2015 +0200

----------------------------------------------------------------------
 .../java/org/apache/tamaya/spi/ServiceContextManagerTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/994f5ffd/java8/api/src/test/java/org/apache/tamaya/spi/ServiceContextManagerTest.java
----------------------------------------------------------------------
diff --git a/java8/api/src/test/java/org/apache/tamaya/spi/ServiceContextManagerTest.java
b/java8/api/src/test/java/org/apache/tamaya/spi/ServiceContextManagerTest.java
index c16de86..372d660 100644
--- a/java8/api/src/test/java/org/apache/tamaya/spi/ServiceContextManagerTest.java
+++ b/java8/api/src/test/java/org/apache/tamaya/spi/ServiceContextManagerTest.java
@@ -78,7 +78,7 @@ public class ServiceContextManagerTest {
         ServiceContext ctx = new ServiceContext() {
             @Override
             public <T> Optional<T> getService(Class<T> serviceType) {
-                return null;
+                return Optional.empty();
             }
 
             @Override
@@ -104,7 +104,7 @@ public class ServiceContextManagerTest {
 
         @Override
         public <T> Optional<T> getService(Class<T> serviceType) {
-            return null;
+            return Optional.empty();
         }
 
         @Override


Mime
View raw message