-
Notifications
You must be signed in to change notification settings - Fork 272
Bugfix/sonarq broke us #3360
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
base: integration
Are you sure you want to change the base?
Bugfix/sonarq broke us #3360
Conversation
| Key end = r.getEndKey(); | ||
| String endCf = (end == null || end.getColumnFamily() == null ? "" : end.getColumnFamily().toString()); |
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.
Neither end nor endCf are used outside of this block -- recommend leaving this code out
warehouse/query-core/src/main/java/datawave/query/ancestor/AncestorIndexBuildingVisitor.java
Outdated
Show resolved
Hide resolved
| } else if (fieldName.equals("QUERY_ID")) { | ||
| m.setQueryId(fieldValue); |
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.
leave this code out -- it was correctly identified as duplicative
| } else if (fieldName.equals("YIELD_COUNT")) { | ||
| m.setYieldCount(Long.parseLong(fieldValue)); |
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.
leave this code out -- it was correctly identified as duplicative
…estorIndexBuildingVisitor.java Co-authored-by: Bill Oley <bill.oley@gmail.com>
…ncy/datawave into bugfix/sonarqBrokeUs
No description provided.