[ 
https://issues.apache.org/jira/browse/AXIOM-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598411#comment-13598411
 ] 

Hudson commented on AXIOM-450:
------------------------------

Integrated in ws-axiom-trunk #1440 (See 
[https://builds.apache.org/job/ws-axiom-trunk/1440/])
    AXIOM-449, AXIOM-450: Deprecated the ByteSearch class and moved it to 
axiom-compat. With the changes in AXIOM-326 it is no longer used. (Revision 
1454928)

     Result = SUCCESS
veithen : 
Files : 
* 
/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/attachments/utils/ByteSearch.java
* 
/webservices/axiom/trunk/modules/axiom-compat/src/main/java/org/apache/axiom/attachments/utils
* 
/webservices/axiom/trunk/modules/axiom-compat/src/main/java/org/apache/axiom/attachments/utils/ByteSearch.java

                
> 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
>
> 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]

Reply via email to