This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch sonar
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
The following commit(s) were added to refs/heads/sonar by this push:
new b646edaf Remove variable
b646edaf is described below
commit b646edaffe39f14a8f9ed389740c6f905b0160b2
Author: Bertil Chapuis <[email protected]>
AuthorDate: Thu Jun 13 00:28:23 2024 +0200
Remove variable
---
.../src/main/java/org/apache/baremaps/data/collection/AppendOnlyLog.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/baremaps-data/src/main/java/org/apache/baremaps/data/collection/AppendOnlyLog.java
b/baremaps-data/src/main/java/org/apache/baremaps/data/collection/AppendOnlyLog.java
index 23e1777f..4051cedc 100644
---
a/baremaps-data/src/main/java/org/apache/baremaps/data/collection/AppendOnlyLog.java
+++
b/baremaps-data/src/main/java/org/apache/baremaps/data/collection/AppendOnlyLog.java
@@ -143,7 +143,6 @@ public class AppendOnlyLog<E> implements DataCollection<E> {
*/
@Override
public AppendOnlyLogIterator iterator() {
- final long size = size();
return new AppendOnlyLogIterator(size);
}