You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tv...@apache.org on 2021/11/21 17:09:41 UTC

[commons-jcs] 01/02: Eclipse barfs on expression

This is an automated email from the ASF dual-hosted git repository.

tv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git

commit cb3c5524cd566b2411996c52a777095702850770
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Sun Nov 21 18:08:56 2021 +0100

    Eclipse barfs on expression
    
    "The target type of this expression must be a functional interface"
---
 .../java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java
index bf5e280..123ba38 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java
@@ -288,7 +288,7 @@ public class BlockDisk implements AutoCloseable
             data.flip();
         }
 
-        log.debug("read, total post combination data.length = {0}", data::limit);
+        log.debug("read, total post combination data.length = {0}", () -> data.limit());
 
         return elementSerializer.deSerialize(data.array(), null);
     }