fix(core): Formatter: Use a nonnull cast instead of requireNonNull.

Change-Id: I62b3e98167f12b7bdee320c65b76a0289d4efb8d
1 file changed