Author: skitching Date: Sun Mar 6 23:18:54 2005 New Revision: 156402 URL: http://svn.apache.org/viewcvs?view=rev&rev=156402 Log: Updated javadoc to note thread-safety requirement for Converter subclasses.
Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/Converter.java Modified: jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/Converter.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/Converter.java?view=diff&r1=156401&r2=156402 ============================================================================== --- jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/Converter.java (original) +++ jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/Converter.java Sun Mar 6 23:18:54 2005 @@ -21,7 +21,15 @@ /** * <p>General purpose data type converter that can be registered and used * within the BeanUtils package to manage the conversion of objects from - * one type to another. + * one type to another.</p> + * + * <p>Converter subclasses bundled with the BeanUtils library are required + * to be thread-safe, as users of the library may call conversion methods + * from more than one thread simultaneously.</p> + * + * <p>Custom converter subclasses created by users of the library can be + * non-thread-safe if the application using them is single-threaded. However + * it is recommended that they be written in a thread-safe manner anyway.</p> * * @author Craig McClanahan * @author Paulo Gaspar --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]