fixed typos

This commit is contained in:
jomu
2017-02-21 11:30:25 +00:00
parent ae150a942f
commit 7b74a0d5cf

View File

@ -22,8 +22,6 @@ public abstract class Parameter<T> {
private String description;
/** boolean flag if this is a mandatory parameter or not */
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 */
private StringConverter<T> stringConverter;
/** 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 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) {
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 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 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) {
this(name, converter);