[matroska] r883 - trunk/JEBML/src/org/ebml/util

[email protected]
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: jcsston
Date: 2004-10-14 23:11:01 +0400 (Thu, 14 Oct 2004)
New Revision: 883

Modified:
   trunk/JEBML/src/org/ebml/util/TLinkedList.java
Log:
Fixed Linked List to actually remove items from the list.

Modified: trunk/JEBML/src/org/ebml/util/TLinkedList.java
===================================================================
--- trunk/JEBML/src/org/ebml/util/TLinkedList.java	2004-10-14 07:55:44 UTC (rev 882)
+++ trunk/JEBML/src/org/ebml/util/TLinkedList.java	2004-10-14 19:11:01 UTC (rev 883)
@@ -291,7 +291,7 @@
   {
     for (TLinkable link = _head; link != null; link = link.getNext()) 
     {
-      if (o.equals(link.getValue())) 
+      if (o.equals(link)) 
       {
         return true;
       }
@@ -442,7 +442,7 @@
     TLinkable link = null;
     for (link = _head; link != null; link = link.getNext()) 
     {
-      if (o.equals(link.getValue())) 
+      if (o.equals(link)) 
       {
         break;
       }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.