diff options
author | Axel Howind <axh@apache.org> | 2024-02-28 09:35:49 +0000 |
---|---|---|
committer | Axel Howind <axh@apache.org> | 2024-02-28 09:35:49 +0000 |
commit | 263171f80eb8f97d1db8843cc0c6d7bef9709d99 (patch) | |
tree | cc3393035fc50750c3bff9534a6f5009772b4cfc /poi/src | |
parent | 6b40b7f966de92beebadea9fec32732243b104ff (diff) | |
download | poi-263171f80eb8f97d1db8843cc0c6d7bef9709d99.tar.gz poi-263171f80eb8f97d1db8843cc0c6d7bef9709d99.zip |
use method reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1916035 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi/src')
-rw-r--r-- | poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java b/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java index bbfe353873..b5da3a91c5 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java @@ -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) { |