aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Howind <axh@apache.org>2024-02-28 09:35:49 +0000
committerAxel Howind <axh@apache.org>2024-02-28 09:35:49 +0000
commit263171f80eb8f97d1db8843cc0c6d7bef9709d99 (patch)
treecc3393035fc50750c3bff9534a6f5009772b4cfc
parent6b40b7f966de92beebadea9fec32732243b104ff (diff)
downloadpoi-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
-rw-r--r--poi/src/main/java/org/apache/poi/hssf/record/aggregates/CFRecordsAggregate.java2
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) {