Document thread-safety (where known)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@959577 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sebastian Bazley 2010-07-01 09:48:23 +00:00
parent 272f8bec32
commit c90b815dab
9 changed files with 11 additions and 0 deletions

View File

@ -23,5 +23,6 @@ Assists in creating consistent <code>equals(Object)</code>, <code>toString()</co
@see java.lang.Object#hashCode()
@see java.lang.Comparable#compareTo(Object)
@since 1.0
<p>These classes are not thread-safe.</p>
</body>
</html>

View File

@ -18,5 +18,6 @@ limitations under the License.
<body>
Provides support classes for multi-threaded programming. This package is
intended to be an extension to <code>java.util.concurrent</code>.
<p>These classes are thread-safe.</p>
</body>
</html>

View File

@ -20,5 +20,6 @@ Extends {@link java.math} for business mathematical classes. This package is int
mathematical use, not scientific use. See <a href="http://commons.apache.org/math/">Commons Math</a>
for a more complete set of mathematical classes.
@since 2.0
<p>These classes are immutable, and therefore thread-safe.</p>
</body>
</html>

View File

@ -24,5 +24,6 @@
<body>
Provides typed mutable wrappers to primitive values and Object.
@since 2.1
<p>These classes are not thread-safe.</p>
</body>
</html>

View File

@ -19,5 +19,7 @@ limitations under the License.
Provides highly reusable static utility methods, chiefly concerned
with adding value to the {@link java.lang} classes.
@since 1.0
<p>Most of these classes are immutable and thus thread-safe.
However Charset is not currently guaranteed thread-safe under all circumstances.</p>
</body>
</html>

View File

@ -24,5 +24,6 @@
<body>
Accumulates common high-level uses of the <code>java.lang.reflect</code> APIs.
@since 3.0
<p>These classes are immutable, and therefore thread-safe.</p>
</body>
</html>

View File

@ -22,5 +22,6 @@ building blocks. Initially created to make it possible for the user to
customize the rules in the StringEscapeUtils class.
</p>
@since 3.0
<p>These classes are immutable, and therefore thread-safe.</p>
</body>
</html>

View File

@ -50,6 +50,8 @@ package org.apache.commons.lang3.time;
* 4. start() cannot be called twice without calling reset()
* </p>
*
* <p>This class is not thread-safe</p>
*
* @author Apache Software Foundation
* @since 2.0
* @version $Id$

View File

@ -18,5 +18,6 @@ limitations under the License.
<body>
Provides classes and methods to work with dates and durations.
@since 2.0
<p>These classes are immutable (and therefore thread-safe) apart from {@link StopWatch}.</p>
</body>
</html>