Adding ThreadSafe notes to some obviously threadsafe classes (LANG-370)

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@918369 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2010-03-03 09:16:38 +00:00
parent 36a29645fb
commit bb0d189f1b
12 changed files with 13 additions and 0 deletions

View File

@ -33,6 +33,7 @@ import org.apache.commons.lang3.builder.ToStringStyle;
* array input. However, an Object array that contains a <code>null</code>
* element may throw an exception. Each method documents its behaviour.</p>
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
* @author Moritz Petersen
* @author <a href="mailto:fredrik@westermarck.com">Fredrik Westermarck</a>

View File

@ -25,6 +25,7 @@ import org.apache.commons.lang3.math.NumberUtils;
* An exception will not be thrown for a <code>null</code> input.
* Each method documents its behaviour in more detail.</p>
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
* @author Matthew Hawthorne
* @author Gary Gregory

View File

@ -23,6 +23,7 @@ package org.apache.commons.lang3;
* An exception will not be thrown for a <code>null</code> input.
* Each method documents its behaviour in more detail.</p>
*
* <p>#ThreadSafe#
* @see CharSet
* @author Apache Software Foundation
* @author Phil Steitz

View File

@ -23,6 +23,7 @@ package org.apache.commons.lang3;
* An exception will not be thrown for a <code>null</code> input.
* Each method documents its behaviour in more detail.</p>
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
* @since 2.1
* @version $Id$

View File

@ -25,6 +25,7 @@ import java.util.Map;
/**
* Utility library to provide helper methods for Java enums.
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
*/
public class EnumUtils {

View File

@ -29,6 +29,7 @@ import org.apache.commons.lang3.exception.CloneFailedException;
* An exception will generally not be thrown for a <code>null</code> input.
* Each method documents its behaviour in more detail.</p>
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
* @author <a href="mailto:nissim@nksystems.com">Nissim Karpenstein</a>
* @author <a href="mailto:janekdb@yahoo.co.uk">Janek Bogucki</a>

View File

@ -22,6 +22,8 @@ import org.apache.commons.lang3.builder.HashCodeBuilder;
/**
* A basic immutable Object pair.
*
* <p>#ThreadSafe#
* @since Lang 3.0
* @author Matt Benson
*/

View File

@ -28,6 +28,7 @@ import java.util.Random;
* 56320 (dc00) to 57343 (dfff) then it is placed after a randomly
* chosen high surrogate. </p>
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
* @author <a href="mailto:steven@caswell.name">Steven Caswell</a>
* @author Gary Gregory

View File

@ -38,6 +38,7 @@ import java.io.Serializable;
* <p>This class throws exceptions for invalid <code>null</code> inputs.
* Each method documents its behaviour in more detail.</p>
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
* @author <a href="mailto:nissim@nksystems.com">Nissim Karpenstein</a>
* @author <a href="mailto:janekdb@yahoo.co.uk">Janek Bogucki</a>

View File

@ -31,6 +31,7 @@ import org.apache.commons.lang3.text.translate.UnicodeUnescaper;
* <p>Escapes and unescapes <code>String</code>s for
* Java, Java Script, HTML and XML.</p>
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
* @author Apache Jakarta Turbine
* @author Purple Technology

View File

@ -99,6 +99,7 @@ import org.apache.commons.lang3.text.WordUtils;
* <p>Methods in this class give sample code to explain their operation.
* The symbol <code>*</code> is used to indicate any input including <code>null</code>.</p>
*
* <p>#ThreadSafe#
* @see java.lang.String
* @author Apache Software Foundation
* @author <a href="http://jakarta.apache.org/turbine/">Apache Jakarta Turbine</a>

View File

@ -25,6 +25,7 @@ import java.io.File;
* the corresponding field in this class will be set to <code>null</code>
* and a message will be written to <code>System.err</code>.</p>
*
* <p>#ThreadSafe#
* @author Apache Software Foundation
* @author Based on code from Avalon Excalibur
* @author Based on code from Lucene