-
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 has within query error #1680
Conversation
Change-Id: I1179a7ec3f29bbf9ec10eeb3f93521b455c31ed8
Codecov Report
@@ Coverage Diff @@
## master #1680 +/- ##
============================================
+ Coverage 64.40% 66.92% +2.51%
- Complexity 6897 7065 +168
============================================
Files 421 421
Lines 34675 34679 +4
Branches 4803 4804 +1
============================================
+ Hits 22334 23210 +876
+ Misses 10058 9124 -934
- Partials 2283 2345 +62
Continue to review full report at Codecov.
|
@@ -115,9 +115,21 @@ public R one() { | |||
} | |||
|
|||
// Fill map with all elements | |||
Map<Id, T> map = new HashMap<>(); | |||
Map<Id, T> map = new LinkedHashMap<>(); |
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.
InsertionOrderUtil.newMap
Change-Id: I72b52f77afbcbe780c9f30c726995c220f409606
@@ -59,6 +59,10 @@ public String toString() { | |||
|
|||
public abstract boolean paging(); | |||
|
|||
public boolean keepOrder() { |
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 to move to line 52 or line 59, since this block is for abstract methods
@@ -221,7 +221,10 @@ public IndexQuery(IdHolderList holders, long batchSize) { | |||
Query bindQuery = holder.query(); | |||
this.updateOffsetIfNeeded(bindQuery); | |||
|
|||
// Iterate by all | |||
/* | |||
* The search or joint index query may come here. |
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.
"come here" -- it means line 229
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
1 similar comment
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
fix #1534
Change-Id: I1179a7ec3f29bbf9ec10eeb3f93521b455c31ed8