nitmetrics: kill unused functions `is_standard`
authorJean Privat <jean@pryen.org>
Wed, 26 Aug 2015 19:01:13 +0000 (15:01 -0400)
committerJean Privat <jean@pryen.org>
Thu, 27 Aug 2015 01:58:40 +0000 (21:58 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/metrics/metrics_base.nit

index d49f96b..605f4d3 100644 (file)
@@ -139,20 +139,6 @@ redef class ToolContext
 
 end
 
-redef class MClass
-       # is the class imported from standard lib?
-       fun is_standard: Bool do
-               return self.intro_mmodule.mgroup.mproject.name == "standard"
-       end
-end
-
-redef class MModule
-       # is the module imported from standard lib?
-       fun is_standard: Bool do
-               return self.mgroup.mproject.name == "standard"
-       end
-end
-
 # A Metric is used to collect data about things
 #
 # The concept is reified here for a better organization and documentation