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:
Axel Howind 2024-02-28 09:35:49 +00:00
parent 6b40b7f966
commit 263171f80e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {