diff options
-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) { |