Esko Luontola created DIRMINA-949:
-------------------------------------

             Summary: Fixed IoBuffer.Pointer.setPosition to work in O(1) 
instead of O(n) in the common case
                 Key: DIRMINA-949
                 URL: https://issues.apache.org/jira/browse/DIRMINA-949
             Project: MINA
          Issue Type: Bug
    Affects Versions: 3.0.0-M1
            Reporter: Esko Luontola


IoBuffer.Pointer.setPosition used to always iterate through the singly linked 
list starting from the very beginning. There's a fix and a test to reproduce 
the issue at https://github.com/apache/mina/pull/3

There are also some other small refactorings and javadoc fixes (that IntelliJ 
IDEA's static analysis found - you should try running it also for the rest of 
the project).

P.S: org.apache.mina.codec.IoBuffer#mark is broken. I'll file another issue for 
that.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to