river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peter_firmst...@apache.org
Subject svn commit: r1373770 - /river/jtsk/trunk/src/org/apache/river/impl/net/UriString.java
Date Thu, 16 Aug 2012 09:49:05 GMT
Author: peter_firmstone
Date: Thu Aug 16 09:49:05 2012
New Revision: 1373770

URL: http://svn.apache.org/viewvc?rev=1373770&view=rev
Log:
reverse commit that caused test failures on jdk7

Modified:
    river/jtsk/trunk/src/org/apache/river/impl/net/UriString.java

Modified: river/jtsk/trunk/src/org/apache/river/impl/net/UriString.java
URL: http://svn.apache.org/viewvc/river/jtsk/trunk/src/org/apache/river/impl/net/UriString.java?rev=1373770&r1=1373769&r2=1373770&view=diff
==============================================================================
--- river/jtsk/trunk/src/org/apache/river/impl/net/UriString.java (original)
+++ river/jtsk/trunk/src/org/apache/river/impl/net/UriString.java Thu Aug 16 09:49:05 2012
@@ -196,7 +196,7 @@ public class UriString {
             StringBuilder sb = new StringBuilder();
             for (int i=0; i<l; i++){
                 // Ensure we use forward slashes
-                if (u[i] == '\\') {
+                if (u[i] == File.separatorChar) {
                     sb.append('/');
                     continue;
                 }



Mime
View raw message