You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2012/09/03 20:37:22 UTC

svn commit: r1380305 - in /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec: Charsets.java binary/Hex.java net/BCodec.java net/QCodec.java net/QuotedPrintableCodec.java

Author: tn
Date: Mon Sep  3 18:37:21 2012
New Revision: 1380305

URL: http://svn.apache.org/viewvc?rev=1380305&view=rev
Log:
Fixed findbugs warning wrt unused imports resulting from javadoc types.

Modified:
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java
    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java?rev=1380305&r1=1380304&r2=1380305&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java Mon Sep  3 18:37:21 2012
@@ -17,7 +17,6 @@
 package org.apache.commons.codec;
 
 import java.nio.charset.Charset;
-import java.nio.charset.UnsupportedCharsetException;
 
 /**
  * Charsets required of every implementation of the Java platform.
@@ -81,7 +80,7 @@ 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
      */
     public static Charset toCharset(String charset) {

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java?rev=1380305&r1=1380304&r2=1380305&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java Mon Sep  3 18:37:21 2012
@@ -18,7 +18,6 @@
 package org.apache.commons.codec.binary;
 
 import java.nio.charset.Charset;
-import java.nio.charset.UnsupportedCharsetException;
 
 import org.apache.commons.codec.BinaryDecoder;
 import org.apache.commons.codec.BinaryEncoder;
@@ -207,7 +206,7 @@ public class Hex implements BinaryEncode
      *
      * @param charsetName
      *            the charset name.
-     * @throws UnsupportedCharsetException
+     * @throws java.nio.charset.UnsupportedCharsetException
      *             If the named charset is unavailable
      * @since 1.4
      * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java Mon Sep  3 18:37:21 2012
@@ -19,7 +19,6 @@ package org.apache.commons.codec.net;
 
 import java.io.UnsupportedEncodingException;
 import java.nio.charset.Charset;
-import java.nio.charset.UnsupportedCharsetException;
 
 import org.apache.commons.codec.Charsets;
 import org.apache.commons.codec.DecoderException;
@@ -75,7 +74,7 @@ public class BCodec extends RFC1522Codec
      *
      * @param charsetName
      *            the default charset to use.
-     * @throws UnsupportedCharsetException
+     * @throws java.nio.charset.UnsupportedCharsetException
      *             If the named charset is unavailable
      * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
      * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java Mon Sep  3 18:37:21 2012
@@ -19,7 +19,6 @@ package org.apache.commons.codec.net;
 
 import java.io.UnsupportedEncodingException;
 import java.nio.charset.Charset;
-import java.nio.charset.UnsupportedCharsetException;
 import java.util.BitSet;
 
 import org.apache.commons.codec.Charsets;
@@ -136,7 +135,7 @@ public class QCodec extends RFC1522Codec
      *
      * @param charsetName
      *            the charset to use.
-     * @throws UnsupportedCharsetException
+     * @throws java.nio.charset.UnsupportedCharsetException
      *             If the named charset is unavailable
      * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
      * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>

Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java (original)
+++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java Mon Sep  3 18:37:21 2012
@@ -20,7 +20,6 @@ package org.apache.commons.codec.net;
 import java.io.ByteArrayOutputStream;
 import java.io.UnsupportedEncodingException;
 import java.nio.charset.Charset;
-import java.nio.charset.UnsupportedCharsetException;
 import java.util.BitSet;
 
 import org.apache.commons.codec.BinaryDecoder;
@@ -111,7 +110,7 @@ public class QuotedPrintableCodec implem
      *
      * @param charsetName
      *            the default string charset to use.
-     * @throws UnsupportedCharsetException
+     * @throws java.nio.charset.UnsupportedCharsetException
      *             If the named charset is unavailable
      * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
      */



Re: svn commit: r1380305 - in /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec: Charsets.java binary/Hex.java net/BCodec.java net/QCodec.java net/QuotedPrintableCodec.java

Posted by sebb <se...@gmail.com>.
On 3 September 2012 19:55, Thomas Neidhart <th...@gmail.com> wrote:
> On 09/03/2012 08:48 PM, sebb wrote:
>> On 3 September 2012 19:37,  <tn...@apache.org> wrote:
>>> Author: tn
>>> Date: Mon Sep  3 18:37:21 2012
>>> New Revision: 1380305
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1380305&view=rev
>>> Log:
>>> Fixed findbugs warning wrt unused imports resulting from javadoc types.
>>
>> Another way to fix this would be to add the exceptions to the throws
>> clause; then the import would not be redundant (and the Javadoc would
>> be a bit shorter).
>>
>> But not necessary to change this here; perhaps consider for other cases?
>
> yes good idea, we do this effort now in commons-math, so I guess we
> could extend it to other components as well.

Yes, worth working towards as time permits.

I find it a bit odd to see a different list of entries in throws and @throws.
I expect to see @throws tags used to document the condition under
which each throws entry can occur.

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

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


Re: svn commit: r1380305 - in /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec: Charsets.java binary/Hex.java net/BCodec.java net/QCodec.java net/QuotedPrintableCodec.java

Posted by Thomas Neidhart <th...@gmail.com>.
On 09/03/2012 08:48 PM, sebb wrote:
> On 3 September 2012 19:37,  <tn...@apache.org> wrote:
>> Author: tn
>> Date: Mon Sep  3 18:37:21 2012
>> New Revision: 1380305
>>
>> URL: http://svn.apache.org/viewvc?rev=1380305&view=rev
>> Log:
>> Fixed findbugs warning wrt unused imports resulting from javadoc types.
> 
> Another way to fix this would be to add the exceptions to the throws
> clause; then the import would not be redundant (and the Javadoc would
> be a bit shorter).
> 
> But not necessary to change this here; perhaps consider for other cases?

yes good idea, we do this effort now in commons-math, so I guess we
could extend it to other components as well.

Thomas

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


Re: svn commit: r1380305 - in /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec: Charsets.java binary/Hex.java net/BCodec.java net/QCodec.java net/QuotedPrintableCodec.java

Posted by Gary Gregory <ga...@gmail.com>.
This is really a shortcoming in FB IMO :(

Gary

On Sep 3, 2012, at 14:48, sebb <se...@gmail.com> wrote:

> On 3 September 2012 19:37,  <tn...@apache.org> wrote:
>> Author: tn
>> Date: Mon Sep  3 18:37:21 2012
>> New Revision: 1380305
>>
>> URL: http://svn.apache.org/viewvc?rev=1380305&view=rev
>> Log:
>> Fixed findbugs warning wrt unused imports resulting from javadoc types.
>
> Another way to fix this would be to add the exceptions to the throws
> clause; then the import would not be redundant (and the Javadoc would
> be a bit shorter).
>
> But not necessary to change this here; perhaps consider for other cases?
>
>> Modified:
>>    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java
>>    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java
>>    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java
>>    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java
>>    commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java
>>
>> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java
>> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java?rev=1380305&r1=1380304&r2=1380305&view=diff
>> ==============================================================================
>> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java (original)
>> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java Mon Sep  3 18:37:21 2012
>> @@ -17,7 +17,6 @@
>> package org.apache.commons.codec;
>>
>> import java.nio.charset.Charset;
>> -import java.nio.charset.UnsupportedCharsetException;
>>
>> /**
>>  * Charsets required of every implementation of the Java platform.
>> @@ -81,7 +80,7 @@ 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
>>      */
>>     public static Charset toCharset(String charset) {
>>
>> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java
>> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java?rev=1380305&r1=1380304&r2=1380305&view=diff
>> ==============================================================================
>> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java (original)
>> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java Mon Sep  3 18:37:21 2012
>> @@ -18,7 +18,6 @@
>> package org.apache.commons.codec.binary;
>>
>> import java.nio.charset.Charset;
>> -import java.nio.charset.UnsupportedCharsetException;
>>
>> import org.apache.commons.codec.BinaryDecoder;
>> import org.apache.commons.codec.BinaryEncoder;
>> @@ -207,7 +206,7 @@ public class Hex implements BinaryEncode
>>      *
>>      * @param charsetName
>>      *            the charset name.
>> -     * @throws UnsupportedCharsetException
>> +     * @throws java.nio.charset.UnsupportedCharsetException
>>      *             If the named charset is unavailable
>>      * @since 1.4
>>      * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
>>
>> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java
>> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
>> ==============================================================================
>> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java (original)
>> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java Mon Sep  3 18:37:21 2012
>> @@ -19,7 +19,6 @@ package org.apache.commons.codec.net;
>>
>> import java.io.UnsupportedEncodingException;
>> import java.nio.charset.Charset;
>> -import java.nio.charset.UnsupportedCharsetException;
>>
>> import org.apache.commons.codec.Charsets;
>> import org.apache.commons.codec.DecoderException;
>> @@ -75,7 +74,7 @@ public class BCodec extends RFC1522Codec
>>      *
>>      * @param charsetName
>>      *            the default charset to use.
>> -     * @throws UnsupportedCharsetException
>> +     * @throws java.nio.charset.UnsupportedCharsetException
>>      *             If the named charset is unavailable
>>      * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
>>      * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
>>
>> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java
>> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
>> ==============================================================================
>> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java (original)
>> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java Mon Sep  3 18:37:21 2012
>> @@ -19,7 +19,6 @@ package org.apache.commons.codec.net;
>>
>> import java.io.UnsupportedEncodingException;
>> import java.nio.charset.Charset;
>> -import java.nio.charset.UnsupportedCharsetException;
>> import java.util.BitSet;
>>
>> import org.apache.commons.codec.Charsets;
>> @@ -136,7 +135,7 @@ public class QCodec extends RFC1522Codec
>>      *
>>      * @param charsetName
>>      *            the charset to use.
>> -     * @throws UnsupportedCharsetException
>> +     * @throws java.nio.charset.UnsupportedCharsetException
>>      *             If the named charset is unavailable
>>      * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
>>      * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
>>
>> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java
>> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
>> ==============================================================================
>> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java (original)
>> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java Mon Sep  3 18:37:21 2012
>> @@ -20,7 +20,6 @@ package org.apache.commons.codec.net;
>> import java.io.ByteArrayOutputStream;
>> import java.io.UnsupportedEncodingException;
>> import java.nio.charset.Charset;
>> -import java.nio.charset.UnsupportedCharsetException;
>> import java.util.BitSet;
>>
>> import org.apache.commons.codec.BinaryDecoder;
>> @@ -111,7 +110,7 @@ public class QuotedPrintableCodec implem
>>      *
>>      * @param charsetName
>>      *            the default string charset to use.
>> -     * @throws UnsupportedCharsetException
>> +     * @throws java.nio.charset.UnsupportedCharsetException
>>      *             If the named charset is unavailable
>>      * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
>>      */
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Re: svn commit: r1380305 - in /commons/proper/codec/trunk/src/main/java/org/apache/commons/codec: Charsets.java binary/Hex.java net/BCodec.java net/QCodec.java net/QuotedPrintableCodec.java

Posted by sebb <se...@gmail.com>.
On 3 September 2012 19:37,  <tn...@apache.org> wrote:
> Author: tn
> Date: Mon Sep  3 18:37:21 2012
> New Revision: 1380305
>
> URL: http://svn.apache.org/viewvc?rev=1380305&view=rev
> Log:
> Fixed findbugs warning wrt unused imports resulting from javadoc types.

Another way to fix this would be to add the exceptions to the throws
clause; then the import would not be redundant (and the Javadoc would
be a bit shorter).

But not necessary to change this here; perhaps consider for other cases?

> Modified:
>     commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java
>     commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java
>     commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java
>     commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java
>     commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java
>
> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java
> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java?rev=1380305&r1=1380304&r2=1380305&view=diff
> ==============================================================================
> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java (original)
> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/Charsets.java Mon Sep  3 18:37:21 2012
> @@ -17,7 +17,6 @@
>  package org.apache.commons.codec;
>
>  import java.nio.charset.Charset;
> -import java.nio.charset.UnsupportedCharsetException;
>
>  /**
>   * Charsets required of every implementation of the Java platform.
> @@ -81,7 +80,7 @@ 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
>       */
>      public static Charset toCharset(String charset) {
>
> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java
> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java?rev=1380305&r1=1380304&r2=1380305&view=diff
> ==============================================================================
> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java (original)
> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java Mon Sep  3 18:37:21 2012
> @@ -18,7 +18,6 @@
>  package org.apache.commons.codec.binary;
>
>  import java.nio.charset.Charset;
> -import java.nio.charset.UnsupportedCharsetException;
>
>  import org.apache.commons.codec.BinaryDecoder;
>  import org.apache.commons.codec.BinaryEncoder;
> @@ -207,7 +206,7 @@ public class Hex implements BinaryEncode
>       *
>       * @param charsetName
>       *            the charset name.
> -     * @throws UnsupportedCharsetException
> +     * @throws java.nio.charset.UnsupportedCharsetException
>       *             If the named charset is unavailable
>       * @since 1.4
>       * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
>
> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java
> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
> ==============================================================================
> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java (original)
> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/BCodec.java Mon Sep  3 18:37:21 2012
> @@ -19,7 +19,6 @@ package org.apache.commons.codec.net;
>
>  import java.io.UnsupportedEncodingException;
>  import java.nio.charset.Charset;
> -import java.nio.charset.UnsupportedCharsetException;
>
>  import org.apache.commons.codec.Charsets;
>  import org.apache.commons.codec.DecoderException;
> @@ -75,7 +74,7 @@ public class BCodec extends RFC1522Codec
>       *
>       * @param charsetName
>       *            the default charset to use.
> -     * @throws UnsupportedCharsetException
> +     * @throws java.nio.charset.UnsupportedCharsetException
>       *             If the named charset is unavailable
>       * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
>       * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
>
> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java
> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
> ==============================================================================
> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java (original)
> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QCodec.java Mon Sep  3 18:37:21 2012
> @@ -19,7 +19,6 @@ package org.apache.commons.codec.net;
>
>  import java.io.UnsupportedEncodingException;
>  import java.nio.charset.Charset;
> -import java.nio.charset.UnsupportedCharsetException;
>  import java.util.BitSet;
>
>  import org.apache.commons.codec.Charsets;
> @@ -136,7 +135,7 @@ public class QCodec extends RFC1522Codec
>       *
>       * @param charsetName
>       *            the charset to use.
> -     * @throws UnsupportedCharsetException
> +     * @throws java.nio.charset.UnsupportedCharsetException
>       *             If the named charset is unavailable
>       * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
>       * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
>
> Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java
> URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java?rev=1380305&r1=1380304&r2=1380305&view=diff
> ==============================================================================
> --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java (original)
> +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java Mon Sep  3 18:37:21 2012
> @@ -20,7 +20,6 @@ package org.apache.commons.codec.net;
>  import java.io.ByteArrayOutputStream;
>  import java.io.UnsupportedEncodingException;
>  import java.nio.charset.Charset;
> -import java.nio.charset.UnsupportedCharsetException;
>  import java.util.BitSet;
>
>  import org.apache.commons.codec.BinaryDecoder;
> @@ -111,7 +110,7 @@ public class QuotedPrintableCodec implem
>       *
>       * @param charsetName
>       *            the default string charset to use.
> -     * @throws UnsupportedCharsetException
> +     * @throws java.nio.charset.UnsupportedCharsetException
>       *             If the named charset is unavailable
>       * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
>       */
>
>

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