Nikolai Fedorovskikh

Results 3 issues of Nikolai Fedorovskikh

Adding the fail fast checks for empty string into `NumberUtils` methods (like `toInt`, `toLong`, etc.) to prevent a big overhead due to generating exception. Checking for an empty string is...

Several improvements in method `DurationFormatUtils#formatDurationWords`: - Removing a couple unreachable code paths. - Replacing `replaceOnce` to `removeStart` and `removeEnd` where it possible. - Saving information about removed parts to reduce...