private String id;
- private SubVals subVals = null;
+ private SubVals subVals;
protected ArgValue(SubVals sv, String content, int argIndex)
{
this.value = content;
this.argIndex = argIndex;
- this.subVals = sv;
+ this.subVals = sv == null ? new SubVals("") : sv;
}
protected ArgValue(String value, int argIndex)
{
this.argIndex = argIndex;
- this.subVals = ArgParser.getSubVals(value);
+ this.subVals = new SubVals(value);
this.value = getSubVals().getContent();
}