Repository navigation
Remove duplicated points at ViaPoints and add getLength to Instructions - #1219
Merged
Merged
Conversation
Member
|
Even better thanks! |
karussell
approved these changes
Nov 14, 2017
karussell
reviewed
Nov 14, 2017
Member
There was a problem hiding this comment.
Would you write: 'In general this will just resolve ot the size of the PointList except for ...'? Because the 'last-first' definition still holds for ViaInstructions and I first thought 'this is not true' was referring to the definition
Member
|
Would you mind trying to squash these 3 commits :) ? |
…pper#1216 Introduce Instruction.getLength() that fixes the ViaPoint issue
Member
Author
|
Squashed this PR :) |
karussell
approved these changes
Nov 17, 2017
karussell
left a comment
Member
There was a problem hiding this comment.
Cool, thanks! (Hope it was easy :) ?)
Member
Author
I am still not a fan of local squashing :). I often have uncommitted changes in my project, but you cannot squash if there are uncommitted changes, so you have to revert them or stash them. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes #1216 and also addresses parts of #1138.
This PR removes the duplicated point at ViaInstructions. Due to that we could also improve the Instructions and added the
getLengthmethod to the Instruction, which makes the code easier to read and is a step towards making instructions more similar to PathDetails.