HBASE-20710 extra cloneFamily() in Mutation.add(Cell); ADDENDUM checkstyle
This commit is contained in:
parent
79800e607c
commit
959d9c16f3
|
@ -115,8 +115,8 @@ public abstract class Mutation extends OperationWithAttributes implements Row, C
|
|||
super(clone);
|
||||
this.row = clone.getRow();
|
||||
this.ts = clone.getTimestamp();
|
||||
this.familyMap = clone.getFamilyCellMap().entrySet().stream()
|
||||
.collect(Collectors.toMap(e -> e.getKey(), e -> new ArrayList<>(e.getValue()), (k, v) -> {
|
||||
this.familyMap = clone.getFamilyCellMap().entrySet().stream().
|
||||
collect(Collectors.toMap(e -> e.getKey(), e -> new ArrayList<>(e.getValue()), (k, v) -> {
|
||||
throw new RuntimeException("collisions!!!");
|
||||
}, () -> new TreeMap<>(Bytes.BYTES_COMPARATOR)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue