diff options
| author | Bryce McKinlay <mckinlay@redhat.com> | 2001-11-25 05:03:57 +0000 |
|---|---|---|
| committer | Bryce McKinlay <mckinlay@redhat.com> | 2001-11-25 05:03:57 +0000 |
| commit | c255d2d3a855de44e3faeb72b8fa9e2e31ab9def (patch) | |
| tree | 84c08272278380d2a0a027145792b09ce32006f8 /java | |
| parent | 74c56782deee0f477012592d6dd36702191f2c9a (diff) | |
| download | classpath-c255d2d3a855de44e3faeb72b8fa9e2e31ab9def.tar.gz | |
* java/util/LinkedList.java (LinkedListItr.add): Don't skip the next
entry.
Diffstat (limited to 'java')
| -rw-r--r-- | java/util/LinkedList.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/java/util/LinkedList.java b/java/util/LinkedList.java index aa0e4d067..f2f333c4c 100644 --- a/java/util/LinkedList.java +++ b/java/util/LinkedList.java @@ -919,10 +919,7 @@ public class LinkedList extends AbstractSequentialList first = e; if (next != null) - { - next.previous = e; - next = next.next; - } + next.previous = e; else last = e; |
