Removed useless end padding check.
This commit is contained in:
parent
c5f1c6eba7
commit
7297c66479
1 changed files with 0 additions and 2 deletions
|
@ -59,8 +59,6 @@ class MinMaxFilter : InputFilter, AnkoLogger {
|
||||||
} else {
|
} else {
|
||||||
if (len > 1 && s.startsWith("0")) {
|
if (len > 1 && s.startsWith("0")) {
|
||||||
return false
|
return false
|
||||||
} else if (len < max.toString().length) {
|
|
||||||
i = s.padEnd(size, '0').toInt()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue