[vala/staging: 1/6] gee: Add missing type-arguments




commit db9e4ce0645ab19e0c3b60fd94cc0df015fa0902
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Oct 15 12:21:48 2021 +0200

    gee: Add missing type-arguments

 gee/arraylist.vala |  2 +-
 gee/hashmap.vala   | 10 +++++-----
 gee/hashset.vala   |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gee/arraylist.vala b/gee/arraylist.vala
index 80b20e9c2..c7829de45 100644
--- a/gee/arraylist.vala
+++ b/gee/arraylist.vala
@@ -169,7 +169,7 @@ public class Vala.ArrayList<G> : List<G> {
                // concurrent modification protection
                public int _stamp = 0;
 
-               public Iterator (ArrayList list) {
+               public Iterator (ArrayList<G> list) {
                        this.list = list;
                }
 
diff --git a/gee/hashmap.vala b/gee/hashmap.vala
index 8590c7dc1..0c2284466 100644
--- a/gee/hashmap.vala
+++ b/gee/hashmap.vala
@@ -195,7 +195,7 @@ public class Vala.HashMap<K,V> : Map<K,V> {
 
                private HashMap<K,V> _map;
 
-               public KeySet (HashMap map) {
+               public KeySet (HashMap<K,V> map) {
                        this.map = map;
                }
 
@@ -243,7 +243,7 @@ public class Vala.HashMap<K,V> : Map<K,V> {
                // concurrent modification protection
                private int _stamp;
 
-               public MapIterator (HashMap map) {
+               public MapIterator (HashMap<K,V> map) {
                        this.map = map;
                }
 
@@ -287,7 +287,7 @@ public class Vala.HashMap<K,V> : Map<K,V> {
                // concurrent modification protection
                private int _stamp;
 
-               public KeyIterator (HashMap map) {
+               public KeyIterator (HashMap<K,V> map) {
                        this.map = map;
                }
 
@@ -340,7 +340,7 @@ public class Vala.HashMap<K,V> : Map<K,V> {
 
                private HashMap<K,V> _map;
 
-               public ValueCollection (HashMap map) {
+               public ValueCollection (HashMap<K,V> map) {
                        this.map = map;
                }
 
@@ -395,7 +395,7 @@ public class Vala.HashMap<K,V> : Map<K,V> {
                // concurrent modification protection
                private int _stamp;
 
-               public ValueIterator (HashMap map) {
+               public ValueIterator (HashMap<K,V> map) {
                        this.map = map;
                }
 
diff --git a/gee/hashset.vala b/gee/hashset.vala
index ff20e8127..032811796 100644
--- a/gee/hashset.vala
+++ b/gee/hashset.vala
@@ -200,7 +200,7 @@ public class Vala.HashSet<G> : Set<G> {
                // concurrent modification protection
                private int _stamp = 0;
 
-               public Iterator (HashSet set) {
+               public Iterator (HashSet<G> set) {
                        this.set = set;
                }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]