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

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

commit a2b72367fd4874be461d22816536c4ba30baf9f6
Author: Alex Herbert <[email protected]>
AuthorDate: Mon Sep 22 14:14:23 2025 +0100

    pmd fix: use interface type
---
 .../commons/geometry/core/internal/AbstractBucketPointMap.java       | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/AbstractBucketPointMap.java
 
b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/AbstractBucketPointMap.java
index c4452bbe..ba2f695f 100644
--- 
a/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/AbstractBucketPointMap.java
+++ 
b/commons-geometry-core/src/main/java/org/apache/commons/geometry/core/internal/AbstractBucketPointMap.java
@@ -30,6 +30,7 @@ import java.util.List;
 import java.util.NoSuchElementException;
 import java.util.Objects;
 import java.util.PriorityQueue;
+import java.util.Queue;
 import java.util.Set;
 
 import org.apache.commons.geometry.core.Point;
@@ -1425,10 +1426,10 @@ public abstract class AbstractBucketPointMap<P extends 
Point<P>, V>
         private final P refPt;
 
         /** Queue of nodes remaining to be visited. */
-        private final PriorityQueue<DistancedValue<BucketNode<P, V>>> nodes;
+        private final Queue<DistancedValue<BucketNode<P, V>>> nodes;
 
         /** Queue of entries waiting to be returned. */
-        private final PriorityQueue<DistancedValue<Entry<P, V>>> entries;
+        private final Queue<DistancedValue<Entry<P, V>>> entries;
 
         /** The next entry to be returned from the iterator. */
         private Entry<P, V> nextEntry;

Reply via email to