Update StraightSegmentPath.java