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