Skip to content

Commit b0abc06

Browse files
committed
Fixed findbugs warning wrt unused imports resulting from javadoc types.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1380305 13f79535-47bb-0310-9956-ffa450edef68
1 parent 554058f commit b0abc06

5 files changed

Lines changed: 5 additions & 10 deletions

File tree

src/main/java/org/apache/commons/codec/Charsets.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
package org.apache.commons.codec;
1818

1919
import java.nio.charset.Charset;
20-
import java.nio.charset.UnsupportedCharsetException;
2120

2221
/**
2322
* Charsets required of every implementation of the Java platform.
@@ -81,7 +80,7 @@ public static Charset toCharset(Charset charset) {
8180
* @param charset
8281
* The name of the requested charset, may be null.
8382
* @return a Charset for the named charset
84-
* @throws UnsupportedCharsetException
83+
* @throws java.nio.charset.UnsupportedCharsetException
8584
* If the named charset is unavailable
8685
*/
8786
public static Charset toCharset(String charset) {

src/main/java/org/apache/commons/codec/binary/Hex.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
package org.apache.commons.codec.binary;
1919

2020
import java.nio.charset.Charset;
21-
import java.nio.charset.UnsupportedCharsetException;
2221

2322
import org.apache.commons.codec.BinaryDecoder;
2423
import org.apache.commons.codec.BinaryEncoder;
@@ -207,7 +206,7 @@ public Hex(Charset charset) {
207206
*
208207
* @param charsetName
209208
* the charset name.
210-
* @throws UnsupportedCharsetException
209+
* @throws java.nio.charset.UnsupportedCharsetException
211210
* If the named charset is unavailable
212211
* @since 1.4
213212
* @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable

src/main/java/org/apache/commons/codec/net/BCodec.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
import java.io.UnsupportedEncodingException;
2121
import java.nio.charset.Charset;
22-
import java.nio.charset.UnsupportedCharsetException;
2322

2423
import org.apache.commons.codec.Charsets;
2524
import org.apache.commons.codec.DecoderException;
@@ -75,7 +74,7 @@ public BCodec(final Charset charset) {
7574
*
7675
* @param charsetName
7776
* the default charset to use.
78-
* @throws UnsupportedCharsetException
77+
* @throws java.nio.charset.UnsupportedCharsetException
7978
* If the named charset is unavailable
8079
* @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
8180
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>

src/main/java/org/apache/commons/codec/net/QCodec.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
import java.io.UnsupportedEncodingException;
2121
import java.nio.charset.Charset;
22-
import java.nio.charset.UnsupportedCharsetException;
2322
import java.util.BitSet;
2423

2524
import org.apache.commons.codec.Charsets;
@@ -136,7 +135,7 @@ public QCodec(final Charset charset) {
136135
*
137136
* @param charsetName
138137
* the charset to use.
139-
* @throws UnsupportedCharsetException
138+
* @throws java.nio.charset.UnsupportedCharsetException
140139
* If the named charset is unavailable
141140
* @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
142141
* @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>

src/main/java/org/apache/commons/codec/net/QuotedPrintableCodec.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import java.io.ByteArrayOutputStream;
2121
import java.io.UnsupportedEncodingException;
2222
import java.nio.charset.Charset;
23-
import java.nio.charset.UnsupportedCharsetException;
2423
import java.util.BitSet;
2524

2625
import org.apache.commons.codec.BinaryDecoder;
@@ -111,7 +110,7 @@ public QuotedPrintableCodec(Charset charset) {
111110
*
112111
* @param charsetName
113112
* the default string charset to use.
114-
* @throws UnsupportedCharsetException
113+
* @throws java.nio.charset.UnsupportedCharsetException
115114
* If the named charset is unavailable
116115
* @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
117116
*/

0 commit comments

Comments
 (0)