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:40 UTC
[commons-jcs] branch master updated (70ba530 -> ae1f134)
This is an automated email from the ASF dual-hosted git repository.
tv pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git.
from 70ba530 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-jcs.git
new cb3c552 Eclipse barfs on expression
new ae1f134 Remove now obsolete variable
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../java/org/apache/commons/jcs3/auxiliary/disk/block/BlockDisk.java | 2 +-
.../apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCache.java | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
[commons-jcs] 01/02: Eclipse barfs on expression
Posted by tv...@apache.org.
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);
}
[commons-jcs] 02/02: Remove now obsolete variable
Posted by tv...@apache.org.
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 ae1f13422ec21b1304c498e1997ec0597ef906c4
Author: Thomas Vandahl <tv...@apache.org>
AuthorDate: Sun Nov 21 18:09:20 2021 +0100
Remove now obsolete variable
---
.../org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCache.java | 1 -
1 file changed, 1 deletion(-)
diff --git a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCache.java b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCache.java
index 69dd6ea..fc76528 100644
--- a/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCache.java
+++ b/commons-jcs-core/src/main/java/org/apache/commons/jcs3/auxiliary/disk/indexed/IndexedDiskCache.java
@@ -709,7 +709,6 @@ public class IndexedDiskCache<K, V> extends AbstractDiskCache<K, V>
return false;
}
- final boolean reset = false;
boolean removed = false;
try
{