Fix spacing and improve documentation in ItemUtil.java