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 @@
* array input. However, an Object array that contains a <code>null</code> * array input. However, an Object array that contains a <code>null</code>
* element may throw an exception. Each method documents its behaviour.</p> * element may throw an exception. Each method documents its behaviour.</p>
* *
* <p>#ThreadSafe#
* @author Apache Software Foundation * @author Apache Software Foundation
* @author Moritz Petersen * @author Moritz Petersen
* @author <a href="mailto:fredrik@westermarck.com">Fredrik Westermarck</a> * @author <a href="mailto:fredrik@westermarck.com">Fredrik Westermarck</a>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -22,6 +22,8 @@
/** /**
* A basic immutable Object pair. * A basic immutable Object pair.
*
* <p>#ThreadSafe#
* @since Lang 3.0 * @since Lang 3.0
* @author Matt Benson * @author Matt Benson
*/ */

View File

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

View File

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

View File

@ -31,6 +31,7 @@
* <p>Escapes and unescapes <code>String</code>s for * <p>Escapes and unescapes <code>String</code>s for
* Java, Java Script, HTML and XML.</p> * Java, Java Script, HTML and XML.</p>
* *
* <p>#ThreadSafe#
* @author Apache Software Foundation * @author Apache Software Foundation
* @author Apache Jakarta Turbine * @author Apache Jakarta Turbine
* @author Purple Technology * @author Purple Technology

View File

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

View File

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