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

Comparing jsr166/src/main/java/util/concurrent/Phaser.java (file contents):
Revision 1.40 by jsr166, Wed Dec 1 19:12:53 2010 UTC vs.
Revision 1.41 by jsr166, Fri Dec 3 01:36:25 2010 UTC

# Line 277 | Line 277 | public class Phaser {
277      }
278  
279      private static int partiesOf(long s) {
280 <        int counts = (int)s;
281 <        return (counts == EMPTY) ? 0 : counts >>> PARTIES_SHIFT;
280 >        return (int)s >>> PARTIES_SHIFT;
281      }
282  
283      private static int phaseOf(long s) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines