Commit cd68853d authored by yorn's avatar yorn

Executed eclipse code formatting

parent d6b94510
......@@ -71,7 +71,7 @@ public class SpreadRank extends
if (value > currentValue) {
currentValue = value;
}
}
vertex.setValue(new IntWritable(currentValue));
vertex.voteToHalt();
......@@ -119,7 +119,8 @@ public class SpreadRank extends
protected LongWritable getValue(String[] line) throws IOException {
try {
Date terminationDate = DATE_FORMAT.parse(line[DATE]);
return new LongWritable(terminationDate.getTime() & MASK_TIME);
return new LongWritable(terminationDate.getTime()
& MASK_TIME);
} catch (Exception e) {
throw new IOException(e);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment