« Return to Thread: Re: ProtocolParser Advice

Re: ProtocolParser Advice

by John ROM :: Rate this Message:

Reply to Author | View in Thread

Hi Jeanfrancois Arcand
Wow I actually didn't expect you to be so fast (8-:

I have a big bug in line 209
ByteBuffer newBuffer = ByteBufferFactory.allocateView(newCapacity, grizzlyBuffer.isDirect());

this line should be replaced with :

 ByteBuffer newBuffer = ByteBufferFactory.allocate(ByteBufferFactory.ByteBufferType.HEAP,newCapacity);


So in future what is the best way for me to change something in the published code.

For example I want to change the javadocs and also how the bytbuffer is treated...

Many Greetings John






--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Re: ProtocolParser Advice