commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1028667 - /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionBuilder.java
Date Fri, 29 Oct 2010 10:23:33 GMT
Author: ebourg
Date: Fri Oct 29 10:23:33 2010
New Revision: 1028667

URL: http://svn.apache.org/viewvc?rev=1028667&view=rev
Log:
Added a note about the thread safety in OptionBuilder (CLI-209)

Modified:
    commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionBuilder.java

Modified: commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionBuilder.java?rev=1028667&r1=1028666&r2=1028667&view=diff
==============================================================================
--- commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionBuilder.java (original)
+++ commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionBuilder.java Fri Oct
29 10:23:33 2010
@@ -24,6 +24,8 @@ package org.apache.commons.cli;
  * <a href="http://c2.com/cgi-bin/wiki?BuilderPattern">
  * http://c2.com/cgi-bin/wiki?BuilderPattern</a>.</p>
  *
+ * <p>This class is NOT thread safe. If several thread were to use this class they
must be synchronized.</p>
+ * 
  * @author John Keyes (john at integralsource.com)
  * @version $Revision$, $Date$
  * @since 1.0



Mime
View raw message