You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subsequent runs of the refresh operation create phantom/false diffs in diff tools because location within the file has changed even thought the content/value hasn't.
Steps to reproduce the behavior:
run the refresh operation
save the resulting bundle somehow (commit to repo)
run the refresh operation again, without changing anything
compare the resulting file with the previous file
you will see a difference even though nothing has changed because the item has shifted positions
Expected behavior
If nothing has changed the diff should not show anything has changed, i.e., the content/value should not change locations in the bundle.
Desktop (please complete the following information):
OS: Windows
Java Version: 1.8.0_311
Additional context
This can be accomplished by using ordered hashsets in java (instead of non-ordered hashsets), i.e. hashsets that guarantee the same ordering given the same hash.
The text was updated successfully, but these errors were encountered:
Subsequent runs of the refresh operation create phantom/false diffs in diff tools because location within the file has changed even thought the content/value hasn't.
Steps to reproduce the behavior:
Expected behavior
If nothing has changed the diff should not show anything has changed, i.e., the content/value should not change locations in the bundle.
Desktop (please complete the following information):
Additional context
This can be accomplished by using ordered hashsets in java (instead of non-ordered hashsets), i.e. hashsets that guarantee the same ordering given the same hash.
The text was updated successfully, but these errors were encountered: