harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r628075 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLEncoder.java
Date Fri, 15 Feb 2008 14:57:34 GMT
Author: tellison
Date: Fri Feb 15 06:57:33 2008
New Revision: 628075

URL: http://svn.apache.org/viewvc?rev=628075&view=rev
Log:
Fix JavaDoc

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLEncoder.java

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLEncoder.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLEncoder.java?rev=628075&r1=628074&r2=628075&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLEncoder.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/net/URLEncoder.java Fri
Feb 15 06:57:33 2008
@@ -89,10 +89,15 @@
      * 
      * @param s
      *            the string to be converted
+     * @param enc
+     *            the name of a charset to use for encoding unsafe chars
      * @return the converted string
+     * @throws UnsupportedEncodingException
+     *             if the named charset is unsupported
      */
     public static String encode(String s, String enc)
             throws UnsupportedEncodingException {
+
         if (s == null || enc == null) {
             throw new NullPointerException();
         }



Mime
View raw message