ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/CountDownLatch.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/CountDownLatch.java (file contents):
Revision 1.21 by dl, Sat Jan 10 01:41:44 2004 UTC vs.
Revision 1.22 by dl, Sat Jan 10 20:37:03 2004 UTC

# Line 267 | Line 267 | public class CountDownLatch {
267      }
268  
269      /**
270 <     * Returns a string identifying this latch, as well as its count.
271 <     * @return a string identifying this latch, as well as its count.
270 >     * Returns a string identifying this latch, as well its state.
271 >     * The state, in brackets, includes the String
272 >     * &quot;Count =&quot; followed by the current count.
273 >     * @return a string identifying this latch, as well as its
274 >     * state
275       */
276      public String toString() {
277          return super.toString() + "[Count = " + sync.getCount() + "]";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines