mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 22:59:11 +00:00
* [Spatial Partition] (Fix) Issue #2544 - ConcurrentModificationException - Wrong log - Log using formatting anchor * [Spatial Partition] (Change) Hashtable to Map, (Remove) unused variable BUBBLE
This commit is contained in:
+2
-2
@@ -24,7 +24,7 @@
|
||||
*/
|
||||
package com.iluwatar.spatialpartition;
|
||||
|
||||
import java.util.Hashtable;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* This abstract class has 2 fields, one of which is a hashtable containing all objects that
|
||||
@@ -35,7 +35,7 @@ import java.util.Hashtable;
|
||||
|
||||
public abstract class SpatialPartitionGeneric<T> {
|
||||
|
||||
Hashtable<Integer, T> playerPositions;
|
||||
Map<Integer, T> playerPositions;
|
||||
QuadTree quadTree;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user