cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: rev 53864 - cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util
Date Wed, 06 Oct 2004 13:55:16 GMT
Author: antonio
Date: Wed Oct  6 06:55:15 2004
New Revision: 53864

Modified:
   cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/NetUtils.java
Log:
Fix typo + add more info

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/NetUtils.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/NetUtils.java	(original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/util/NetUtils.java	Wed Oct  6
06:55:15 2004
@@ -148,7 +148,7 @@
     }
 
     /**
-     * Encode a path as required by the URL specificatin (<a href="http://www.ietf.org/rfc/rfc1738.txt">
+     * Encode a path as required by the URL specification (<a href="http://www.ietf.org/rfc/rfc1738.txt">
      * RFC 1738</a>). This differs from <code>java.net.URLEncoder.encode()</code>
which encodes according
      * to the <code>x-www-form-urlencoded</code> MIME format.
      *
@@ -225,7 +225,7 @@
      * extension  component
      *
      * @param uri The filename
-     * @return The filename extension (with starting dot!)
+     * @return The filename extension (with starting dot!) or null if filename extension
is not found
      */
     public static String getExtension(String uri) {
         int dot = uri.lastIndexOf('.');

Mime
View raw message