camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1197107 - /camel/trunk/camel-core/src/test/java/org/apache/camel/util/URISupportTest.java
Date Thu, 03 Nov 2011 13:32:26 GMT
Author: davsclaus
Date: Thu Nov  3 13:32:26 2011
New Revision: 1197107

URL: http://svn.apache.org/viewvc?rev=1197107&view=rev
Log:
Fixed CS

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/util/URISupportTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/util/URISupportTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/util/URISupportTest.java?rev=1197107&r1=1197106&r2=1197107&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/util/URISupportTest.java (original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/util/URISupportTest.java Thu Nov
 3 13:32:26 2011
@@ -24,7 +24,7 @@ import java.util.Map;
 import org.apache.camel.ContextTestSupport;
 
 /**
- * @version 
+ * @version
  */
 public class URISupportTest extends ContextTestSupport {
 
@@ -150,11 +150,11 @@ public class URISupportTest extends Cont
         String out2 = URISupport.normalizeUri("smtp://localhost?to=foo&to=bar&from=me&from=you");
         assertEquals("smtp://localhost?from=me&from=you&to=foo&to=bar", out2);
     }
-    
+
     public void testSanitizeUriWithUserInfo() {
-    	String uri      = "jt400://GEORGE:HARRISON@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ";
-    	String expected = "jt400://GEORGE:******@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ";
-    	assertEquals(expected, URISupport.sanitizeUri(uri));
+        String uri = "jt400://GEORGE:HARRISON@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ";
+        String expected = "jt400://GEORGE:******@LIVERPOOL/QSYS.LIB/BEATLES.LIB/PENNYLANE.DTAQ";
+        assertEquals(expected, URISupport.sanitizeUri(uri));
     }
 
 }



Mime
View raw message