Author: ningjiang
Date: Thu Jun 16 03:43:11 2011
New Revision: 1136282
URL: http://svn.apache.org/viewvc?rev=1136282&view=rev
Log:
Fixed a CS error of AhcBridgeEndpointTest
Modified:
camel/trunk/components/camel-ahc/src/test/java/org/apache/camel/component/ahc/AhcBridgeEndpointTest.java
Modified:
camel/trunk/components/camel-ahc/src/test/java/org/apache/camel/component/ahc/AhcBridgeEndpointTest.java
URL:
http://svn.apache.org/viewvc/camel/trunk/components/camel-ahc/src/test/java/org/apache/camel/component/ahc/AhcBridgeEndpointTest.java?rev=1136282&r1=1136281&r2=1136282&view=diff
==============================================================================
---
camel/trunk/components/camel-ahc/src/test/java/org/apache/camel/component/ahc/AhcBridgeEndpointTest.java
(original)
+++
camel/trunk/components/camel-ahc/src/test/java/org/apache/camel/component/ahc/AhcBridgeEndpointTest.java
Thu Jun 16 03:43:11 2011
@@ -31,7 +31,7 @@ public class AhcBridgeEndpointTest exten
@Test
public void testBridgeEndpoint() throws Exception {
- String response = template.requestBodyAndHeader("http://localhost:" +
port1 +"/test/hello",
+ String response = template.requestBodyAndHeader("http://localhost:" +
port1 + "/test/hello",
new ByteArrayInputStream("This is a test".getBytes()),
"Content-Type", "application/xml", String.class);
assertEquals("Get a wrong response", "/", response);