You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2010/10/29 12:23:33 UTC

svn commit: r1028667 - /commons/proper/cli/trunk/src/main/java/org/apache/commons/cli/OptionBuilder.java

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