Update CurvedWallFactory.java