Update Utils.java

A tiny optimization