If the function is allowed to return null, perhaps it is better to use `Ints.tryParse` instead of `parseInt` to avoid throwing an exception and return null instead.