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
            Priority: Trivial


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