From c1eb5d20300cce1751ed4ede5c471a8a3f7358b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Christophe=20Beaupr=C3=A9?= Date: Fri, 28 Nov 2014 12:11:32 -0500 Subject: [PATCH] neo_doxygen: Remove useless type declarations. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jean-Christophe Beaupré --- contrib/neo_doxygen/src/doxml/doc.nit | 2 +- contrib/neo_doxygen/src/model/graph.nit | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/neo_doxygen/src/doxml/doc.nit b/contrib/neo_doxygen/src/doxml/doc.nit index 610bbf0..e934bab 100644 --- a/contrib/neo_doxygen/src/doxml/doc.nit +++ b/contrib/neo_doxygen/src/doxml/doc.nit @@ -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 diff --git a/contrib/neo_doxygen/src/model/graph.nit b/contrib/neo_doxygen/src/model/graph.nit index ffd4eec..4481b2e 100644 --- a/contrib/neo_doxygen/src/model/graph.nit +++ b/contrib/neo_doxygen/src/model/graph.nit @@ -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) -- 1.7.9.5