commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scolebou...@apache.org
Subject svn commit: r151270 - jakarta/commons/proper/collections/trunk/xdocs/userguide.xml
Date Fri, 04 Feb 2005 00:22:33 GMT
Author: scolebourne
Date: Thu Feb  3 16:22:31 2005
New Revision: 151270

URL: http://svn.apache.org/viewcvs?view=rev&rev=151270
Log:
Fix cut and paste error
bug 33125, from Chad McHenry

Modified:
    jakarta/commons/proper/collections/trunk/xdocs/userguide.xml

Modified: jakarta/commons/proper/collections/trunk/xdocs/userguide.xml
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/collections/trunk/xdocs/userguide.xml?view=diff&r1=151269&r2=151270
==============================================================================
--- jakarta/commons/proper/collections/trunk/xdocs/userguide.xml (original)
+++ jakarta/commons/proper/collections/trunk/xdocs/userguide.xml Thu Feb  3 16:22:31 2005
@@ -118,11 +118,11 @@
 </p>
 <source>
 Buffer buffer = new UnboundedFifoBuffer();
-bidi.add("ONE");
-bidi.add("TWO");
-bidi.add("THREE");
-bidi.remove();  // removes and returns the next in order, "ONE" as this is a FIFO
-bidi.remove();  // removes and returns the next in order, "TWO" as this is a FIFO
+buffer.add("ONE");
+buffer.add("TWO");
+buffer.add("THREE");
+buffer.remove();  // removes and returns the next in order, "ONE" as this is a FIFO
+buffer.remove();  // removes and returns the next in order, "TWO" as this is a FIFO
 </source>
 <p>
 Implementations are provided for FIFO (queue), LIFO (stack) and Priority (removal in comparator
order).



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message