summaryrefslogtreecommitdiff
path: root/gee
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-13 15:44:44 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-13 15:44:44 +0000
commit206cd6716043d886c6531ca358f5b442c5ea991e (patch)
tree0d277104d825ce27f0aefa6734071809aabbf1b5 /gee
parent67916b6274ed6dfbc0200cca77a52f1f21848486 (diff)
downloadvala-206cd6716043d886c6531ca358f5b442c5ea991e.tar.gz
report warning when using obsolete syntax for non-null types
2008-04-13 Juerg Billeter <j@bitron.ch> * vala/valaparser.vala: report warning when using obsolete syntax for non-null types * */*.vala, */*.vapi: port to new syntax svn path=/trunk/; revision=1208
Diffstat (limited to 'gee')
-rw-r--r--gee/arraylist.vala2
-rw-r--r--gee/hashmap.vala8
-rw-r--r--gee/hashset.vala2
3 files changed, 6 insertions, 6 deletions
diff --git a/gee/arraylist.vala b/gee/arraylist.vala
index 4a49b48e2..08fdcdc81 100644
--- a/gee/arraylist.vala
+++ b/gee/arraylist.vala
@@ -165,7 +165,7 @@ public class Gee.ArrayList<G> : Object, Iterable<G>, Collection<G>, List<G> {
// concurrent modification protection
public int _stamp = 0;
- public Iterator (construct ArrayList! list) {
+ public Iterator (construct ArrayList list) {
}
public bool next () {
diff --git a/gee/hashmap.vala b/gee/hashmap.vala
index 2b76d8a4a..737e3f637 100644
--- a/gee/hashmap.vala
+++ b/gee/hashmap.vala
@@ -185,7 +185,7 @@ public class Gee.HashMap<K,V> : Object, Map<K,V> {
private HashMap<K,V> _map;
- public KeySet (construct HashMap! map) {
+ public KeySet (construct HashMap map) {
}
public Type get_element_type () {
@@ -232,7 +232,7 @@ public class Gee.HashMap<K,V> : Object, Map<K,V> {
// concurrent modification protection
private int _stamp;
- public KeyIterator (construct HashMap! map) {
+ public KeyIterator (construct HashMap map) {
}
public bool next () {
@@ -260,7 +260,7 @@ public class Gee.HashMap<K,V> : Object, Map<K,V> {
private HashMap<K,V> _map;
- public ValueCollection (construct HashMap! map) {
+ public ValueCollection (construct HashMap map) {
}
public Type get_element_type () {
@@ -313,7 +313,7 @@ public class Gee.HashMap<K,V> : Object, Map<K,V> {
// concurrent modification protection
private int _stamp;
- public ValueIterator (construct HashMap! map) {
+ public ValueIterator (construct HashMap map) {
}
public bool next () {
diff --git a/gee/hashset.vala b/gee/hashset.vala
index 2bc9e3d3b..4cfdfd3ce 100644
--- a/gee/hashset.vala
+++ b/gee/hashset.vala
@@ -176,7 +176,7 @@ public class Gee.HashSet<G> : Object, Iterable<G>, Collection<G>, Set<G> {
// concurrent modification protection
private int _stamp = 0;
- public Iterator (construct HashSet! set) {
+ public Iterator (construct HashSet set) {
}
public bool next () {