blambov commented on code in PR #2064:
URL: https://github.com/apache/cassandra/pull/2064#discussion_r1071939141


##########
src/java/org/apache/cassandra/db/compaction/Scrubber.java:
##########
@@ -564,20 +565,27 @@ public ScrubResult(Scrubber scrubber)
     /**
      * During 2.x migration, under some circumstances rows might have gotten 
duplicated.
      * Merging iterator merges rows with same clustering.
-     *
+     * <p>
      * For more details, refer to CASSANDRA-12144.
      */
-    private static class RowMergingSSTableIterator extends 
WrappingUnfilteredRowIterator
+    private static class RowMergingSSTableIterator extends 
UnmodifiableIterator<Unfiltered> implements WrappingUnfilteredRowIterator

Review Comment:
   Yes, we can supply a default implementation in the interface just like it is 
done in `UnmodifiableIterator`, and not have to descend from the latter.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to