From: Alexandre Terrasa Date: Thu, 15 Oct 2015 17:51:10 +0000 (-0400) Subject: core/collection: set HashMapIterator as private X-Git-Tag: v0.7.9~34^2 X-Git-Url: http://nitlanguage.org core/collection: set HashMapIterator as private Signed-off-by: Alexandre Terrasa --- diff --git a/lib/core/collection/hash_collection.nit b/lib/core/collection/hash_collection.nit index 1c9c17c..8ee3491 100644 --- a/lib/core/collection/hash_collection.nit +++ b/lib/core/collection/hash_collection.nit @@ -376,7 +376,7 @@ private class HashMapNode[K, V] end # A `MapIterator` over a `HashMap`. -class HashMapIterator[K, V] +private class HashMapIterator[K, V] super MapIterator[K, V] redef fun is_ok do return _node != null @@ -405,10 +405,10 @@ class HashMapIterator[K, V] end # The map to iterate on - private var map: HashMap[K, V] + var map: HashMap[K, V] # The current node - private var node: nullable HashMapNode[K, V] = null + var node: nullable HashMapNode[K, V] = null init do