dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/Generics LinkedList.cs,1.2,1.3


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/Generics LinkedList.cs,1.2,1.3
Date: Mon, 24 Feb 2003 00:26:12 -0500

Update of /cvsroot/dotgnu-pnet/pnetlib/Generics
In directory subversions:/tmp/cvs-serv6825/Generics

Modified Files:
        LinkedList.cs 
Log Message:


Bug fix - advance to the next item in Contains, IndexOf, and Remove.


Index: LinkedList.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Generics/LinkedList.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** LinkedList.cs       24 Feb 2003 04:36:26 -0000      1.2
--- LinkedList.cs       24 Feb 2003 05:26:09 -0000      1.3
***************
*** 184,187 ****
--- 184,188 ----
                                                        return true;
                                                }
+                                               current = current.next;
                                        }
                                        return false;
***************
*** 197,200 ****
--- 198,202 ----
                                                                return true;
                                                        }
+                                                       current = current.next;
                                                }
                                                return false;
***************
*** 208,211 ****
--- 210,214 ----
                                                                return true;
                                                        }
+                                                       current = current.next;
                                                }
                                                return false;
***************
*** 230,233 ****
--- 233,237 ----
                                                }
                                                ++index;
+                                               current = current.next;
                                        }
                                        return -1;
***************
*** 244,247 ****
--- 248,252 ----
                                                        }
                                                        ++index;
+                                                       current = current.next;
                                                }
                                                return -1;
***************
*** 256,259 ****
--- 261,265 ----
                                                        }
                                                        ++index;
+                                                       current = current.next;
                                                }
                                                return -1;
***************
*** 285,288 ****
--- 291,295 ----
                                                        return;
                                                }
+                                               current = current.next;
                                        }
                                }
***************
*** 298,301 ****
--- 305,309 ----
                                                                return;
                                                        }
+                                                       current = current.next;
                                                }
                                        }
***************
*** 309,312 ****
--- 317,321 ----
                                                                return;
                                                        }
+                                                       current = current.next;
                                                }
                                        }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]