]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gee: Add missing type-arguments
authorRico Tzschichholz <ricotz@ubuntu.com>
Fri, 15 Oct 2021 10:21:48 +0000 (12:21 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 19 Oct 2021 07:36:02 +0000 (09:36 +0200)
gee/arraylist.vala
gee/hashmap.vala
gee/hashset.vala

index 80b20e9c2ff99749ad0ebc86c97ea88b880c3cc5..c7829de45539b663400d3c9b6481e0bf0e6b19be 100644 (file)
@@ -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;
                }
 
index 8590c7dc1e5a319be2621625c6b5088ea22e61ad..0c2284466a21c6bdde7ac1996aaf2a618371ce88 100644 (file)
@@ -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;
                }
 
index ff20e812781278e58dd0593f84dc785bef01f773..032811796cbc1d40145e8cb83fb2492e07914e2e 100644 (file)
@@ -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;
                }