You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2001/12/19 17:51:03 UTC
cvs commit: jakarta-avalon/src/java/org/apache/avalon/framework/parameters Parameters.java
bloritsch 01/12/19 08:51:03
Modified: src/java/org/apache/avalon/framework/parameters
Parameters.java
Log:
add diclaimer to parameters
Revision Changes Path
1.17 +6 -1 jakarta-avalon/src/java/org/apache/avalon/framework/parameters/Parameters.java
Index: Parameters.java
===================================================================
RCS file: /home/cvs/jakarta-avalon/src/java/org/apache/avalon/framework/parameters/Parameters.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- Parameters.java 2001/12/11 09:00:47 1.16
+++ Parameters.java 2001/12/19 16:51:03 1.17
@@ -21,6 +21,11 @@
* Each value stored in Parameters has a key.
* This class is similar to java.util.Properties with convenience methods
* to access property values by type.
+ * <p>
+ * <strong>Note, this class is not thread safe by default.</strong> If you
+ * require thread safety please synchronize write access to this class to
+ * prevent potential data corruption.
+ * </p>
*
* @author <a href="mailto:fumagalli@exoffice.com">Pierpaolo Fumagalli</a>
* @author <a href="mailto:peter@apache.org">Peter Donald</a>
@@ -452,7 +457,7 @@
* @param elementName the element name for the parameters
* @return This <code>Parameters</code> instance.
*/
- public static Parameters fromConfiguration( final Configuration configuration,
+ public static Parameters fromConfiguration( final Configuration configuration,
final String elementName )
throws ConfigurationException
{
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>