return def;
}
-
+
/**
* Set the value associated to the given id as a {@link Boolean}.
*
setString(id.name(), BundleHelper.fromBoolean(value));
}
-
/**
* Return the value associated to the given id as an {@link Integer}.
*
public void setInteger(E id, int value) {
setString(id.name(), BundleHelper.fromInteger(value));
}
-
+
/**
* Return the value associated to the given id as a {@link Character}.
*
String[] list = meta.list();
boolean nullable = meta.nullable();
String def = meta.def();
- String info = meta.info();
boolean array = meta.array();
// Default, empty values -> NULL
- if (desc.length() + list.length + info.length() + def.length() == 0
- && !group && nullable && format == Meta.Format.STRING) {
+ if (desc.length() + list.length + def.length() == 0 && !group
+ && nullable && format == Meta.Format.STRING) {
return null;
}
} else {
builder.append(" (FORMAT: ").append(format)
.append(nullable ? "" : " (required)");
- builder.append(") ").append(info);
+ builder.append(") ");
if (list.length > 0) {
builder.append("\n# ALLOWED VALUES:");