Skip to content

Commit

Permalink
Added OrphanPages implementation xldrx#1-r
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrés Gomez committed Sep 11, 2015
1 parent 4f2cede commit 1db6ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OrphanPages.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public void reduce(IntWritable key, Iterable<IntWritable> values, Context contex
for (IntWritable v : values) {
count += v.get();
}
if(count == 1) {
if(count <= 1) {
context.write(key, NullWritable.get());
}
}
Expand Down

0 comments on commit 1db6ee3

Please sign in to comment.