llib/nitcorn: fixes documentation warnings.
authorAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 02:35:44 +0000 (21:35 -0500)
committerAlexandre Terrasa <alexandre@moz-code.org>
Fri, 12 Dec 2014 22:41:37 +0000 (17:41 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>

lib/nitcorn/reactor.nit

index 1cbb54a..1a56ee8 100644 (file)
@@ -32,7 +32,10 @@ class HttpServer
        # The associated `HttpFactory`
        var factory: HttpFactory
 
-       init(buf_ev: NativeBufferEvent, factory: HttpFactory) do self.factory = factory
+       # Init the server using `HttpFactory`.
+       init(buf_ev: NativeBufferEvent, factory: HttpFactory) is old_style_init do
+               self.factory = factory
+       end
 
        private var parser = new HttpRequestParser is lazy