Skip to content

Commit 4eb17f5

Browse files
committed
Added a note about the thread safety in OptionBuilder (CLI-209)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1028667 13f79535-47bb-0310-9956-ffa450edef68
1 parent 0ef85fe commit 4eb17f5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/org/apache/commons/cli/OptionBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
* <a href="http://c2.com/cgi-bin/wiki?BuilderPattern">
2525
* http://c2.com/cgi-bin/wiki?BuilderPattern</a>.</p>
2626
*
27+
* <p>This class is NOT thread safe. If several thread were to use this class they must be synchronized.</p>
28+
*
2729
* @author John Keyes (john at integralsource.com)
2830
* @version $Revision$, $Date$
2931
* @since 1.0

0 commit comments

Comments
 (0)