Skip to content

Commit

Permalink
renamed NumberType.valueOf to parse
Browse files Browse the repository at this point in the history
  • Loading branch information
hohwille committed Jan 2, 2024
1 parent 685b33c commit 6db0d83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public V getValueOrThrow() {
if (value.isEmpty()) {
return null;
}
return getNumberType().valueOf(value);
return getNumberType().parse(value);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public void afterTextChanged(Editable s) {
return;
}
AndroidSlider.this.text = newText;
setValueToSlider(getNumberType().valueOf(AndroidSlider.this.text));
setValueToSlider(getNumberType().parse(AndroidSlider.this.text));
onValueChanged();
} catch (NumberFormatException e) {
// TODO
Expand Down

0 comments on commit 6db0d83

Please sign in to comment.