neo_doxygen: Remove useless type declarations.
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 28 Nov 2014 17:11:32 +0000 (12:11 -0500)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 28 Nov 2014 19:07:00 +0000 (14:07 -0500)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

contrib/neo_doxygen/src/doxml/doc.nit
contrib/neo_doxygen/src/model/graph.nit

index 610bbf0..e934bab 100644 (file)
@@ -21,7 +21,7 @@ import listener
 class DocListener
        super TextListener
 
-       var doc: JsonArray = new JsonArray is writable
+       var doc = new JsonArray is writable
 
        redef fun end_listening do
                super
index ffd4eec..4481b2e 100644 (file)
@@ -38,7 +38,7 @@ class ProjectGraph
        # The node reperesenting the project.
        #
        # Once the project’s graph is initialized, this node must not be edited.
-       var project: NeoNode = new NeoNode
+       var project = new NeoNode
 
        # Entities by `model_id`.
        var by_id: Map[String, Entity] = new HashMap[String, Entity]
@@ -85,7 +85,7 @@ abstract class Entity
        var model_id: String = "" is writable
 
        # Associated documentation.
-       var doc: JsonArray = new JsonArray is writable
+       var doc = new JsonArray is writable
 
        init do
                self.labels.add(graph.project["name"].to_s)