-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix not check last step of count api #1013
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1013 +/- ##
============================================
- Coverage 69.15% 69.11% -0.04%
- Complexity 5361 5362 +1
============================================
Files 328 328
Lines 26215 26232 +17
Branches 3731 3732 +1
============================================
+ Hits 18129 18131 +2
- Misses 6327 6343 +16
+ Partials 1759 1758 -1
Continue to review full report at Codecov.
|
@@ -69,7 +69,8 @@ public long count(Id source, List<Step> steps, | |||
if (stepNum == 1) { | |||
// Just one step, query count and return | |||
count.add(this.edgesCount(source, firstStep.direction, | |||
firstStep.labels, firstStep.properties)); | |||
firstStep.labels, firstStep.properties, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this.count
lastStep.properties)); | ||
lastStep.labels, lastStep.properties, | ||
lastStep.degree, | ||
lastStep.skipDegree)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prefer define a var
Change-Id: Idc61cad83e98924cc69fef79e83b0f8d1eb3dd27
Change-Id: Idc61cad83e98924cc69fef79e83b0f8d1eb3dd27