cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nea...@apache.org
Subject cxf git commit: [CXF-7307] fix the 404 error in empty string query parameter injection.
Date Fri, 31 Mar 2017 11:16:55 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 0dc7db7aa -> a304f27b8


[CXF-7307] fix the 404 error in empty string query parameter injection.


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

Branch: refs/heads/master
Commit: a304f27b8ad9da04dde3610932266c64baa3aa7e
Parents: 0dc7db7
Author: Neal Hu <huxingjiang2649@tops001.com>
Authored: Fri Mar 31 19:15:36 2017 +0800
Committer: Neal Hu <huxingjiang2649@tops001.com>
Committed: Fri Mar 31 19:15:36 2017 +0800

----------------------------------------------------------------------
 .../test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a304f27b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
index dafb8ae..d600825 100644
--- a/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
+++ b/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/utils/InjectionUtilsTest.java
@@ -162,7 +162,7 @@ public class InjectionUtilsTest extends Assert {
         Float f = InjectionUtils.handleParameter("", false, float.class,
                 float.class, null,
                 ParameterType.QUERY, null);
-        assertEquals("Long is not 0", Float.valueOf(0F), f);
+        assertEquals("Float is not 0", Float.valueOf(0F), f);
     }
 
     @Test


Mime
View raw message