mirror of https://github.com/apache/poi.git
use method reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6b40b7f966
commit
263171f80e
|
@ -63,7 +63,7 @@ public final class CFRecordsAggregate extends RecordAggregate implements Generic
|
|||
|
||||
public CFRecordsAggregate(CFRecordsAggregate other) {
|
||||
header = other.header.copy();
|
||||
other.rules.stream().map(t -> t.copy()).forEach(rules::add);
|
||||
other.rules.stream().map(CFRuleBase::copy).forEach(rules::add);
|
||||
}
|
||||
|
||||
private CFRecordsAggregate(CFHeaderBase pHeader, CFRuleBase[] pRules) {
|
||||
|
|
Loading…
Reference in New Issue