There's actually a subtle but important difference between foo++ and ++foo
This commit is contained in:
parent
5be7e0621d
commit
def077c4e5
|
|
@ -78,7 +78,7 @@ public class FindCoveredIntervals extends ActiveRegionWalker<GenomeLoc, Long> {
|
|||
public Long reduce(final GenomeLoc value, Long reduce) {
|
||||
if (value != null) {
|
||||
out.println(value.toString());
|
||||
return reduce++;
|
||||
return ++reduce;
|
||||
} else
|
||||
return reduce;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue