You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/05/04 20:29:35 UTC
[GitHub] ctubbsii commented on a change in pull request #464: Remove
redundant code
ctubbsii commented on a change in pull request #464: Remove redundant code
URL: https://github.com/apache/accumulo/pull/464#discussion_r186212970
##########
File path: test/src/main/java/org/apache/accumulo/test/performance/scan/CollectTabletStats.java
##########
@@ -510,7 +510,7 @@ private static int readFilesUsingIterStack(VolumeManager fs, ServerConfiguration
HashSet<ByteSequence> columnSet = createColumnBSS(columns);
reader.seek(new Range(ke.getPrevEndRow(), false, ke.getEndRow(), true), columnSet,
- columnSet.size() == 0 ? false : true);
+ columnSet.size() != 0);
Review comment:
A lot of these could use `isEmpty()`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services