Please sign in to comment.
move route allocation to a factory method on the mapping object
I would like to change the signature of the Route constructor. Since the mapping object has all the data required to construct a Route object, move the allocation to a factory method.
- Loading branch information...
Showing with 13 additions and 8 deletions.