Time Server Example -- Error in documentation

이희승 (Trustin Lee) trustin at gmail.com
Fri Aug 26 00:25:39 EDT 2011


Tiberiu,

Thanks for reporting it. I've just checked the fix in. 

-- 
Trustin Lee (http://gleamynode.net/)

On Monday, August 22, 2011 at 6:21 PM, TiberiuRogojan wrote:

> This is just a small heads up, that the Time Server example found in the
> documentation has a compilation error. 
> ...
> ChannelBuffer time = ChannelBuffers.buffer(4);
> time.writeInt(System.currentTimeMillis() / 1000);
> 
> writeInt accepts ints, but the argument is of long type.
> System.currentTimeMillis() / 1000 returns a long.
> ...
> 
> Probably others noticed that, but I didn't find it mentioned on the forums..
> Just thought to let you know to fix the doc.
> 
> Thank you,
> Tiberiu
> 
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Time-Server-Example-Error-in-documentation-tp6710743p6710743.html
> Sent from the Netty User Group mailing list archive at Nabble.com (http://Nabble.com).
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org (mailto:netty-users at lists.jboss.org)
> https://lists.jboss.org/mailman/listinfo/netty-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20110826/b10110ad/attachment.html 


More information about the netty-users mailing list