Skip to content

Commit 289a091

Browse files
committed
Javadoc: This class is not thread-safe. Each thread should use its own instance.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1064797 13f79535-47bb-0310-9956-ffa450edef68
1 parent dc4eb55 commit 289a091

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/java/org/apache/commons/codec/binary/Base32.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
* <p>
3333
* This class operates directly on byte streams, and not character streams.
3434
* </p>
35+
* <p>
36+
* This class is not thread-safe.
37+
* Each thread should use its own instance.
38+
* </p>
3539
*
3640
* @see <a href="http://www.ietf.org/rfc/rfc4648.txt">RFC 4648</a>
3741
*

src/java/org/apache/commons/codec/binary/Base64.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
* Since this class operates directly on byte streams, and not character streams, it is hard-coded to only encode/decode
4040
* character encodings which are compatible with the lower 127 ASCII chart (ISO-8859-1, Windows-1252, UTF-8, etc).
4141
* </p>
42+
* <p>
43+
* This class is not thread-safe.
44+
* Each thread should use its own instance.
45+
* </p>
4246
*
4347
* @see <a href="http://www.ietf.org/rfc/rfc2045.txt">RFC 2045</a>
4448
* @author Apache Software Foundation

src/java/org/apache/commons/codec/binary/BaseNCodec.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@
2626
/**
2727
* Implements common Base-N codec functions.
2828
*
29+
* <p>
2930
* This class is not thread-safe.
3031
* Each thread should use its own instance.
32+
* </p>
3133
*/
3234
public abstract class BaseNCodec implements BinaryEncoder, BinaryDecoder {
3335

0 commit comments

Comments
 (0)