Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,11 @@ public void setAsText(String text) throws IllegalArgumentException {
public void setValue(Object newValue) throws IllegalArgumentException {
if (newValue instanceof Integer) {
super.setValue(newValue);
return;
} else if (newValue instanceof Character) {
char c = (Character) newValue;
super.setValue((int)c);
return;
} else if (newValue instanceof String) {
String text = (String) newValue;
if (text.length() >= 1) {
Expand Down
Loading