From 2ab704a09db06ab776bd4cf59974e5f65f5e7c38 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 23 Aug 2018 17:27:16 -0700 Subject: clean up indendation in ScoreJob.scala --- scalding/src/main/scala/sandcrawler/ScoreJob.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scalding/src/main') diff --git a/scalding/src/main/scala/sandcrawler/ScoreJob.scala b/scalding/src/main/scala/sandcrawler/ScoreJob.scala index 6d9cecd..02714ab 100644 --- a/scalding/src/main/scala/sandcrawler/ScoreJob.scala +++ b/scalding/src/main/scala/sandcrawler/ScoreJob.scala @@ -19,12 +19,12 @@ class ScoreJob(args: Args) extends JobBase(args) { .map { entry => val (slug : String, (features1 : ReduceFeatures, features2 : ReduceFeatures)) = entry new ReduceOutput( - slug, - Scorable.computeSimilarity(features1, features2), - features1.json, - features2.json) + slug, + Scorable.computeSimilarity(features1, features2), + features1.json, + features2.json) } - //TypedTsv doesn't work over case classes. + // TypedTsv doesn't work over case classes. .map { entry => (entry.slug, entry.score, entry.json1, entry.json2) } .write(TypedTsv[(String, Int, String, String)](args("output"))) } -- cgit v1.2.3