/[classpath]/classpath/java/net/URLDecoder.java
ViewVC logotype

Diff of /classpath/java/net/URLDecoder.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by mark, Fri Nov 22 02:42:26 2002 UTC revision 1.11 by mkoch, Sat Dec 21 12:10:04 2002 UTC
# Line 78  public class URLDecoder Line 78  public class URLDecoder
78     *     *
79     * @return the converted String     * @return the converted String
80     */     */
81    public static String decode(String s) throws Exception    public static String decode(String s)
82    {    {
83      try      try
84        {        {
85          return decode(s, "UTF-8");          return decode(s, "UTF-8");
86        }        }
87      catch (UnsupportedEncodingException uee)      catch (UnsupportedEncodingException uee)
88        {        {
89          // Should never happen since UTF-8 encoding should always be supported          // Should never happen since UTF-8 encoding should always be supported
90          return s;          return s;
91        }        }
92    }    }
93    

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26