contrib: fix useless signature in redef warning
authorAlexandre Terrasa <alexandre@moz-code.org>
Wed, 20 Apr 2016 06:36:31 +0000 (02:36 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 20 Apr 2016 22:40:49 +0000 (18:40 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

contrib/neo_doxygen/src/graph_store.nit
contrib/neo_doxygen/src/tests/tests.nit

index dece71e..0c396d3 100644 (file)
@@ -66,7 +66,7 @@ class Neo4jStore
        # The Neo4j client to use.
        var client: Neo4jClient
 
-       redef fun has_node_label(name: String): Bool do
+       redef fun has_node_label(name) do
                var query = new CypherQuery.from_string(
                                "match n where \{name\} in labels(n) return count(n)")
                query.params["name"] = name
@@ -75,7 +75,7 @@ class Neo4jStore
                return result > 0
        end
 
-       redef fun save_all(neo_entities: Collection[NeoEntity]) do
+       redef fun save_all(neo_entities) do
                var batch = new NeoBatch(client)
                var len = neo_entities.length
                var sum = 0
index 797886b..b1481b3 100644 (file)
@@ -72,7 +72,7 @@ redef class Entity
        # Append the debugging output of this entity to the specified buffer.
        #
        # Append the `model_id`, the labels and the properties.
-       redef fun debug(buffer: Buffer) do
+       redef fun debug(buffer) do
                buffer.append "Entity#{model_id.length}:{model_id}\n"
                buffer.append "=labels=Array({labels.length}):\n"
                for lab in labels do buffer.append "{lab.length}:{lab}\n"