[
https://issues.apache.org/jira/browse/AXIOM-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen resolved AXIOM-450.
-----------------------------------
Resolution: Won't Fix
Fix Version/s: 1.2.15
Assignee: Andreas Veithen
Before AXIOM-326 the ByteSearch class was part of the MIME parser. It is no
longer used/maintained and will be removed in Axiom 1.3.
> getSkipArray bug
> ----------------
>
> Key: AXIOM-450
> URL: https://issues.apache.org/jira/browse/AXIOM-450
> Project: Axiom
> Issue Type: Bug
> Components: API
> Affects Versions: 1.2.14
> Reporter: David
> Assignee: Andreas Veithen
> Fix For: 1.2.15
>
>
> Starting on line 134 of ByteSearch.java, the for loop should be:
> for (int k = pattern.length-1; k > 0; k--) {
> skip[pattern[k] &(0xff)] = (short)k;
> }
> That is, it loops from the last character to the first character (exclusive),
> and sets the skip pattern to the distance between the character and the start
> of the array (which is just the index in the array).
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]