Skip to content

Commit 46ad66a

Browse files
committed
[CLI-224] Added default Builder constructor.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/cli/trunk@1444753 13f79535-47bb-0310-9956-ffa450edef68
1 parent df52eee commit 46ad66a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,14 @@ public static class Builder
789789
/** the character that is the value separator */
790790
private char valuesep;
791791

792+
/**
793+
* Constructs a new <code>Builder</code>.
794+
*/
795+
public Builder()
796+
{
797+
this(null, null);
798+
}
799+
792800
/**
793801
* Constructs a new <code>Builder</code> with the minimum
794802
* required parameters for an <code>Option</code> instance.

0 commit comments

Comments
 (0)