use more concise casting to int at another line

git-svn-id: https://svn/IT/az/groovy@23887 99cadc30-3bf9-11df-9bc1-510916f65ae8
Merge remote-tracking branch 'remotes/git-svn'