lib/neo4j: fixes useless empty init
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 20:57:31 +0000 (15:57 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 20:57:31 +0000 (15:57 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/neo4j/jsonable.nit
lib/neo4j/neo4j.nit

index 3578d59..95a76a3 100644 (file)
@@ -172,8 +172,6 @@ class JsonArray
 
        private var array = new Array[nullable Jsonable]
 
-       init do end
-
        # init the JSON Array from a Nit `Collection`
        init from(items: Collection[nullable Jsonable]) do
                array.add_all(items)
index f03e2f0..4694f8d 100644 (file)
@@ -405,8 +405,6 @@ class CypherQuery
        # `params` to embed in the query like in prepared statements
        var params = new JsonObject
 
-       init do end
-
        # init the query from a query string
        init from_string(query: String) do
                self.query = query