fixed typos
This commit is contained in:
@ -22,8 +22,6 @@ public abstract class Parameter<T> {
|
|||||||
private String description;
|
private String description;
|
||||||
/** boolean flag if this is a mandatory parameter or not */
|
/** boolean flag if this is a mandatory parameter or not */
|
||||||
private boolean mandatory;
|
private boolean mandatory;
|
||||||
/** the type of the value object for this paramterer */
|
|
||||||
// private T type;
|
|
||||||
/** the string converter to convert the object to string and back again */
|
/** the string converter to convert the object to string and back again */
|
||||||
private StringConverter<T> stringConverter;
|
private StringConverter<T> stringConverter;
|
||||||
/** list of mandatory parameters, if this parameter is active */
|
/** list of mandatory parameters, if this parameter is active */
|
||||||
@ -47,11 +45,11 @@ public abstract class Parameter<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* creates a new parameter object
|
* creates a new string parameter object. If the parameter is mandatory or not can be specified.
|
||||||
*
|
*
|
||||||
* @param name the name of the parameter
|
* @param name the name of the parameter
|
||||||
* @param converter the converter object to convert the value of the parameter to string and vice versa
|
* @param converter the converter object to convert the value of the parameter to string and vice versa
|
||||||
* @param mandatory detremines if this is a mandatory parameter or not
|
* @param mandatory determines if this is a mandatory parameter or not
|
||||||
*/
|
*/
|
||||||
public Parameter(String name, StringConverter<T> converter, boolean mandatory) {
|
public Parameter(String name, StringConverter<T> converter, boolean mandatory) {
|
||||||
this(name, converter);
|
this(name, converter);
|
||||||
@ -59,12 +57,12 @@ public abstract class Parameter<T> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* creates a new parameter object
|
* creates a new string parameter object.
|
||||||
*
|
*
|
||||||
* @param name the name of the parameter
|
* @param name the name of the parameter
|
||||||
* @param converter the converter object to convert the value of the parameter to string and vice versa
|
* @param converter the converter object to convert the value of the parameter to string and vice versa
|
||||||
* @param description the long text description of this parameter
|
* @param description the long text description of this parameter
|
||||||
* @param mandatory detremines if this is a mandatory parameter or not
|
* @param mandatory determines if this is a mandatory parameter or not
|
||||||
*/
|
*/
|
||||||
public Parameter(String name, StringConverter<T> converter, String description, boolean mandatory) {
|
public Parameter(String name, StringConverter<T> converter, String description, boolean mandatory) {
|
||||||
this(name, converter);
|
this(name, converter);
|
||||||
|
|||||||
Reference in New Issue
Block a user