*: remove newly superfluous static types on attributes
[nit.git] / lib / neo4j / graph / graph.nit
index 39063f2..d3be0d5 100644 (file)
@@ -47,7 +47,7 @@ abstract class NeoNodeCollection
        super SimpleCollection[NeoNode]
 
        # The type of the local IDs.
-       type ID_TYPE: Jsonable
+       type ID_TYPE: Serializable
 
        # The property of the nodes that hold the local ID.
        var id_property: String
@@ -105,7 +105,7 @@ abstract class NeoNodeCollection
        #
        # SEE: `create_node`
        # SEE: `register`
-       redef fun add(node: NeoNode) is abstract
+       redef fun add(node) is abstract
 
        # Add a new node to the graph and return it.
        #
@@ -133,7 +133,7 @@ abstract class NeoNodeCollection
                for node in self do remove_node(node)
        end
 
-       redef fun remove(node: NeoNode) do
+       redef fun remove(node) do
                for n in self do
                        if node == n then
                                remove_node(n)
@@ -142,7 +142,7 @@ abstract class NeoNodeCollection
                end
        end
 
-       redef fun remove_all(node: NeoNode) do
+       redef fun remove_all(node) do
                for n in self do
                        if node == n then remove_node(n)
                end