ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r350045 - /ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
Date Wed, 30 Nov 2005 20:46:00 GMT
Author: mbenson
Date: Wed Nov 30 12:45:57 2005
New Revision: 350045

URL: http://svn.apache.org/viewcvs?rev=350045&view=rev
Log:
not much

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java?rev=350045&r1=350044&r2=350045&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/launch/Locator.java Wed Nov 30 12:45:57 2005
@@ -155,8 +155,7 @@
      * @since Ant 1.7
      */
     public static String decodeUri(String uri) throws UnsupportedEncodingException{
-        if (uri.indexOf('%') == -1)
-        {
+        if (uri.indexOf('%') == -1) {
             return uri;
         }
         ByteArrayOutputStream sb = new ByteArrayOutputStream(uri.length());
@@ -177,8 +176,7 @@
                 sb.write(c);
             }
         }
-        String path = sb.toString("UTF-8");
-        return path;
+        return sb.toString("UTF-8");
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message