aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/ss
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-01-12 11:04:21 +0000
committerPJ Fanning <fanningpj@apache.org>2020-01-12 11:04:21 +0000
commitb211a1362c9d0a067bff9de057e2ae12b3f8d774 (patch)
tree9d542bda9b86dbc9d1d7dbaf0aa2408cc4ef5ee8 /src/java/org/apache/poi/ss
parentaa11adebf1c27e54bed0b3d2683c6e6f3c9f6883 (diff)
downloadpoi-b211a1362c9d0a067bff9de057e2ae12b3f8d774.tar.gz
poi-b211a1362c9d0a067bff9de057e2ae12b3f8d774.zip
use a few more lambdas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1872644 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/ss')
-rw-r--r--src/java/org/apache/poi/ss/formula/EvaluationCache.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/java/org/apache/poi/ss/formula/EvaluationCache.java b/src/java/org/apache/poi/ss/formula/EvaluationCache.java
index ff655f36bb..451ccc7ba3 100644
--- a/src/java/org/apache/poi/ss/formula/EvaluationCache.java
+++ b/src/java/org/apache/poi/ss/formula/EvaluationCache.java
@@ -118,12 +118,7 @@ final class EvaluationCache {
private void updateAnyBlankReferencingFormulas(int bookIndex, int sheetIndex,
final int rowIndex, final int columnIndex) {
final BookSheetKey bsk = new BookSheetKey(bookIndex, sheetIndex);
- _formulaCellCache.applyOperation(new IEntryOperation() {
-
- public void processEntry(FormulaCellCacheEntry entry) {
- entry.notifyUpdatedBlankCell(bsk, rowIndex, columnIndex, _evaluationListener);
- }
- });
+ _formulaCellCache.applyOperation(entry -> entry.notifyUpdatedBlankCell(bsk, rowIndex, columnIndex, _evaluationListener));
}
public PlainValueCellCacheEntry getPlainValueEntry(int bookIndex, int sheetIndex,