camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject git commit: CAMEL-7457 Fixed CS errors of CxfRsHeaderFilterStrategyTest
Date Tue, 27 May 2014 06:20:31 GMT
Repository: camel
Updated Branches:
  refs/heads/master 1fb191c91 -> a63b297e7


CAMEL-7457 Fixed CS errors of CxfRsHeaderFilterStrategyTest


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

Branch: refs/heads/master
Commit: a63b297e7a40aa5099f10c824e857c1d4047ba35
Parents: 1fb191c
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Tue May 27 14:10:35 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue May 27 14:12:01 2014 +0800

----------------------------------------------------------------------
 .../component/cxf/jaxrs/CxfRsHeaderFilterStrategyTest.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a63b297e/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsHeaderFilterStrategyTest.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsHeaderFilterStrategyTest.java
b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsHeaderFilterStrategyTest.java
index eab6c41..34c9085 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsHeaderFilterStrategyTest.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsHeaderFilterStrategyTest.java
@@ -26,16 +26,16 @@ public class CxfRsHeaderFilterStrategyTest extends Assert {
     @Test
     public void testFilterContentType() throws Exception {
         HeaderFilterStrategy filter = new CxfRsHeaderFilterStrategy();
-        assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders("content-type","just
a test", null));
-        assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders("Content-Type","just
a test", null));
+        assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders("content-type",
"just a test", null));
+        assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders("Content-Type",
"just a test", null));
     }
     
     @Test
     public void testFilterCamelHeaders() throws Exception {
         HeaderFilterStrategy filter = new CxfRsHeaderFilterStrategy();
-        assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders(Exchange.CHARSET_NAME,"just
a test", null));
+        assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders(Exchange.CHARSET_NAME,
"just a test", null));
         assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders(CxfConstants.CAMEL_CXF_RS_RESPONSE_CLASS,
"just a test", null));
-        assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders("org.apache.camel.such.Header","just
a test", null));
+        assertTrue("Get a wrong filtered result", filter.applyFilterToCamelHeaders("org.apache.camel.such.Header",
"just a test", null));
         assertFalse("Get a wrong filtered result", filter.applyFilterToCamelHeaders("camel.result",
"just a test", null));
     }
 


Mime
View raw message