cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing 3.0.x test build failure
Date Mon, 20 Feb 2017 16:02:44 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 78726545f -> b3c37aa8b


Fixing 3.0.x test build failure


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

Branch: refs/heads/3.0.x-fixes
Commit: b3c37aa8bcef621c9d358d92d5416150f4b14212
Parents: 7872654
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Feb 20 16:02:26 2017 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Feb 20 16:02:26 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/cxf/resource/DefaultResourceManagerTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b3c37aa8/core/src/test/java/org/apache/cxf/resource/DefaultResourceManagerTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/cxf/resource/DefaultResourceManagerTest.java b/core/src/test/java/org/apache/cxf/resource/DefaultResourceManagerTest.java
index 9e5034d..0ecda44 100644
--- a/core/src/test/java/org/apache/cxf/resource/DefaultResourceManagerTest.java
+++ b/core/src/test/java/org/apache/cxf/resource/DefaultResourceManagerTest.java
@@ -74,7 +74,7 @@ public class DefaultResourceManagerTest extends Assert {
 
     @Test
     public void testAddResolverList() {
-        List<ResourceResolver> addedResolvers = new ArrayList<>();
+        List<ResourceResolver> addedResolvers = new ArrayList<ResourceResolver>();
         for (int i = 0; i < 4; i++) {
             addedResolvers.add(new DummyResolver(resolvers[0].source));
         }
@@ -101,7 +101,7 @@ public class DefaultResourceManagerTest extends Assert {
 
     @Test
     public void testAddDuplicateResolverList() {
-        manager.addResourceResolvers(new ArrayList<>(manager.getResourceResolvers()));
+        manager.addResourceResolvers(new ArrayList<ResourceResolver>(manager.getResourceResolvers()));
 
         assertArrayEquals(resolvers, getResolvers(manager));
 


Mime
View raw message