Update DirectionUtils.java