Replace asInt with asInteger to avoid future deprecation warnings
On recent SC versions, the method asInt
simply calls asInteger
. In the next SC release, asInt
will begin to post warnings as it will be deprecated in a few years. This MR replaces asInt
with asInteger
in all places where it was used.