Conversation
d5ec156 to
9cbe894
Compare
dhalperi
left a comment
There was a problem hiding this comment.
Reviewable status: 0 of 9 files reviewed, all discussions resolved (waiting on @SLarkworthy)
projects/batfish-common-protocol/src/main/java/org/batfish/datamodel/Ip6.java line 50 at r1 (raw file):
remainder = remainder.shiftRight(16); }
I feel like this should be simplifiable, but you know it wasn't easy to see how.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9246 +/- ##
=======================================
Coverage 72.72% 72.73%
=======================================
Files 3316 3316
Lines 170084 170107 +23
Branches 20051 20061 +10
=======================================
+ Hits 123702 123735 +33
+ Misses 37216 37207 -9
+ Partials 9166 9165 -1
|
9cbe894 to
b256c87
Compare
SLarkworthy
left a comment
There was a problem hiding this comment.
Reviewable status: 0 of 9 files reviewed, 1 unresolved discussion (waiting on @dhalperi)
projects/batfish-common-protocol/src/main/java/org/batfish/datamodel/Ip6.java line 78 at r1 (raw file):
} // Handle edge case where the longest sequence is at the end
Can just move this check to right after you append currentLength and you wouldn't need to handle this case separately.
commit-id:a3da853d
b256c87 to
6260fc3
Compare
dhalperi
left a comment
There was a problem hiding this comment.
Reviewable status: 0 of 9 files reviewed, 1 unresolved discussion (waiting on @SLarkworthy)
projects/batfish-common-protocol/src/main/java/org/batfish/datamodel/Ip6.java line 78 at r1 (raw file):
Previously, SLarkworthy (Sarah Larkworthy) wrote…
Can just move this check to right after you append currentLength and you wouldn't need to handle this case separately.
Done.
SLarkworthy
left a comment
There was a problem hiding this comment.
Reviewed 8 of 9 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on @dhalperi)
Stack: