[ 
https://issues.apache.org/jira/browse/WICKET-3177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov reassigned WICKET-3177:
---------------------------------------

    Assignee: Martin Grigorov

> Chunk.slice seq.subList(pos, pos) returns empty list so why bother
> ------------------------------------------------------------------
>
>                 Key: WICKET-3177
>                 URL: https://issues.apache.org/jira/browse/WICKET-3177
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5-M3
>         Environment: any
>            Reporter: Richard Emberson
>            Assignee: Martin Grigorov
>            Priority: Trivial
>             Fix For: 1.5-M4
>
>
> In the method Chuck.splice when count <= 0 the following code is exectued:
> return new ArrayList<T>(seq.subList(pos, pos));
> Well, seq.subList(pos, pos) returns an empty list so you might want to
> change the line to be something like:
> return new ArrayList<T>();

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to