Skip to content

Commit

Permalink
added missing constraint descriptions in OptionValueConstraintType (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
krichter722 authored and sjamesr committed Dec 20, 2016
1 parent a2d0dce commit 5eda181
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ public enum OptionValueConstraintType implements SaneEnum {
/**
* The option's value is constrained to some range of values.
*/
RANGE_CONSTRAINT(1, ""),
RANGE_CONSTRAINT(1, "Range constraint"),

/**
* The option's value is constrained to some list of values.
*/
VALUE_LIST_CONSTRAINT(2, ""),
VALUE_LIST_CONSTRAINT(2, "Value list constraint"),

/**
* The option's value type is {@link OptionValueType#STRING} and its value is constrained to some
* list of string values.
*/
STRING_LIST_CONSTRAINT(3, "");
STRING_LIST_CONSTRAINT(3, "String list constraint");

private final int wireValue;
private final String description;
Expand Down

0 comments on commit 5eda181

Please # to comment.