ctubbsii commented on a change in pull request #2421:
URL: https://github.com/apache/accumulo/pull/2421#discussion_r788046235
##########
File path:
core/src/main/java/org/apache/accumulo/core/clientImpl/OfflineIterator.java
##########
@@ -300,13 +295,9 @@ private TabletMetadata getTabletFiles(Range nextRange) {
SamplerConfigurationImpl samplerConfImpl =
SamplerConfigurationImpl.newSamplerConfig(acuTableConf);
- if (scannerSamplerConfigImpl != null
- && ((samplerConfImpl != null &&
!scannerSamplerConfigImpl.equals(samplerConfImpl))
- || samplerConfImpl == null)) {
+ if (scannerSamplerConfigImpl != null &&
(!scannerSamplerConfigImpl.equals(samplerConfImpl))) {
Review comment:
Can remove these extra parens:
```suggestion
if (scannerSamplerConfigImpl != null &&
!scannerSamplerConfigImpl.equals(samplerConfImpl)) {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]