You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/01/11 02:52:45 UTC

svn commit: r1431799 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/Charsets.java

Author: sebb
Date: Fri Jan 11 01:52:45 2013
New Revision: 1431799

URL: http://svn.apache.org/viewvc?rev=1431799&view=rev
Log:
Javadoc

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/Charsets.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/Charsets.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/Charsets.java?rev=1431799&r1=1431798&r2=1431799&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/Charsets.java (original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/Charsets.java Fri Jan 11 01:52:45 2013
@@ -78,8 +78,10 @@ public class Charsets {
      * @param charset
      *            The name of the requested charset, may be null.
      * @return a Charset for the named charset
-     * @throws UnsupportedCharsetException
+     * @throws java.nio.charset.UnsupportedCharsetException
      *             If the named charset is unavailable
+     * @throws java.nio.charset.IllegalCharsetNameException
+     *             If the given charset name is illegal
      */
     public static Charset toCharset(String charset) {
         return charset == null ? Charset.defaultCharset() : Charset.forName(charset);