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.1.x build failure
Date Fri, 26 Feb 2016 10:50:47 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 1c17a94b0 -> 6a1826d04


Fixing 3.1.x build failure


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

Branch: refs/heads/3.1.x-fixes
Commit: 6a1826d04db57d013caf72384796e58a86041daf
Parents: 1c17a94
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Feb 26 10:50:28 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Feb 26 10:50:28 2016 +0000

----------------------------------------------------------------------
 .../test/java/org/apache/cxf/common/util/PackageUtilsTest.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6a1826d0/core/src/test/java/org/apache/cxf/common/util/PackageUtilsTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/cxf/common/util/PackageUtilsTest.java b/core/src/test/java/org/apache/cxf/common/util/PackageUtilsTest.java
index 644e529..46e32af 100644
--- a/core/src/test/java/org/apache/cxf/common/util/PackageUtilsTest.java
+++ b/core/src/test/java/org/apache/cxf/common/util/PackageUtilsTest.java
@@ -44,13 +44,13 @@ public class PackageUtilsTest extends Assert {
     @Test
     public void testSharedPackageNameSingleClass() throws Exception {
         String packageName = PackageUtils.getSharedPackageName(
-            Collections.singletonList(this.getClass()));       
+            Collections.<Class<?>>singletonList(this.getClass()));       
         assertEquals(this.getClass().getPackage().getName(), packageName);
     }
     @Test
     public void testSharedPackageNameManyClassesInSamePackage() throws Exception {
         String packageName = PackageUtils.getSharedPackageName(
-            Arrays.asList(Integer.class, Number.class));       
+            Arrays.<Class<?>>asList(Integer.class, Number.class));       
         assertEquals("java.lang", packageName);
     }
     @Test


Mime
View raw message