contrib/refund: fix `useless signature in redef` warning
authorAlexandre Terrasa <alexandre@moz-code.org>
Wed, 1 Jun 2016 14:27:01 +0000 (10:27 -0400)
committerAlexandre Terrasa <alexandre@moz-code.org>
Wed, 1 Jun 2016 14:27:01 +0000 (10:27 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

contrib/refund/src/refund_json.nit

index 33032b3..d7f53e5 100644 (file)
@@ -130,7 +130,7 @@ redef class RefundProcessor
                return new RefundStats.from_json(content)
        end
 
-       redef fun save_stats(stats: RefundStats) do
+       redef fun save_stats(stats) do
                write_output(stats.to_json.to_pretty_json, stats_file)
        end
 end