ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/jsr166e/ConcurrentHashMapV8.java
(Generate patch)

Comparing jsr166/src/jsr166e/ConcurrentHashMapV8.java (file contents):
Revision 1.64 by jsr166, Tue Oct 2 05:07:19 2012 UTC vs.
Revision 1.65 by jsr166, Sun Oct 21 02:37:58 2012 UTC

# Line 5439 | Line 5439 | public class ConcurrentHashMapV8<K, V>
5439                      if ((c = t.pending) == 0) {
5440                          for (s = t.rights; s != null; s = t.rights = s.nextRight) {
5441                              if ((sr = s.result) != null)
5442 <                                t.result = (tr = t.result) == null? sr : reducer.apply(tr, sr);
5442 >                                t.result = ((tr = t.result) == null) ? sr : reducer.apply(tr, sr);
5443                          }
5444                          if ((par = t.parent) == null ||
5445                              !(par instanceof ReduceKeysTask)) {
# Line 5494 | Line 5494 | public class ConcurrentHashMapV8<K, V>
5494                      if ((c = t.pending) == 0) {
5495                          for (s = t.rights; s != null; s = t.rights = s.nextRight) {
5496                              if ((sr = s.result) != null)
5497 <                                t.result = (tr = t.result) == null? sr : reducer.apply(tr, sr);
5497 >                                t.result = ((tr = t.result) == null) ? sr : reducer.apply(tr, sr);
5498                          }
5499                          if ((par = t.parent) == null ||
5500                              !(par instanceof ReduceValuesTask)) {
# Line 5549 | Line 5549 | public class ConcurrentHashMapV8<K, V>
5549                      if ((c = t.pending) == 0) {
5550                          for (s = t.rights; s != null; s = t.rights = s.nextRight) {
5551                              if ((sr = s.result) != null)
5552 <                                t.result = (tr = t.result) == null? sr : reducer.apply(tr, sr);
5552 >                                t.result = ((tr = t.result) == null) ? sr : reducer.apply(tr, sr);
5553                          }
5554                          if ((par = t.parent) == null ||
5555                              !(par instanceof ReduceEntriesTask)) {
# Line 5608 | Line 5608 | public class ConcurrentHashMapV8<K, V>
5608                      if ((c = t.pending) == 0) {
5609                          for (s = t.rights; s != null; s = t.rights = s.nextRight) {
5610                              if ((sr = s.result) != null)
5611 <                                t.result = (tr = t.result) == null? sr : reducer.apply(tr, sr);
5611 >                                t.result = ((tr = t.result) == null) ? sr : reducer.apply(tr, sr);
5612                          }
5613                          if ((par = t.parent) == null ||
5614                              !(par instanceof MapReduceKeysTask)) {
# Line 5668 | Line 5668 | public class ConcurrentHashMapV8<K, V>
5668                      if ((c = t.pending) == 0) {
5669                          for (s = t.rights; s != null; s = t.rights = s.nextRight) {
5670                              if ((sr = s.result) != null)
5671 <                                t.result = (tr = t.result) == null? sr : reducer.apply(tr, sr);
5671 >                                t.result = ((tr = t.result) == null) ? sr : reducer.apply(tr, sr);
5672                          }
5673                          if ((par = t.parent) == null ||
5674                              !(par instanceof MapReduceValuesTask)) {
# Line 5728 | Line 5728 | public class ConcurrentHashMapV8<K, V>
5728                      if ((c = t.pending) == 0) {
5729                          for (s = t.rights; s != null; s = t.rights = s.nextRight) {
5730                              if ((sr = s.result) != null)
5731 <                                t.result = (tr = t.result) == null? sr : reducer.apply(tr, sr);
5731 >                                t.result = ((tr = t.result) == null) ? sr : reducer.apply(tr, sr);
5732                          }
5733                          if ((par = t.parent) == null ||
5734                              !(par instanceof MapReduceEntriesTask)) {
# Line 5788 | Line 5788 | public class ConcurrentHashMapV8<K, V>
5788                      if ((c = t.pending) == 0) {
5789                          for (s = t.rights; s != null; s = t.rights = s.nextRight) {
5790                              if ((sr = s.result) != null)
5791 <                                t.result = (tr = t.result) == null? sr : reducer.apply(tr, sr);
5791 >                                t.result = ((tr = t.result) == null) ? sr : reducer.apply(tr, sr);
5792                          }
5793                          if ((par = t.parent) == null ||
5794                              !(par instanceof MapReduceMappingsTask)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines