Update ShortPath.java