aboutsummaryrefslogtreecommitdiffstats
path: root/scalding/src/main/scala
diff options
context:
space:
mode:
Diffstat (limited to 'scalding/src/main/scala')
-rw-r--r--scalding/src/main/scala/sandcrawler/BibjsonScorable.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/scalding/src/main/scala/sandcrawler/BibjsonScorable.scala b/scalding/src/main/scala/sandcrawler/BibjsonScorable.scala
index 7221a66..cdd598f 100644
--- a/scalding/src/main/scala/sandcrawler/BibjsonScorable.scala
+++ b/scalding/src/main/scala/sandcrawler/BibjsonScorable.scala
@@ -38,7 +38,7 @@ object BibjsonScorable {
if (title == null || title.isEmpty) {
new MapFeatures(Scorable.NoSlug, json)
} else {
- val sf : ScorableFeatures = new ScorableFeatures(title=title, doi=doi, sha1=sha1)
+ val sf : ScorableFeatures = ScorableFeatures.create(title=title, doi=doi, sha1=sha1)
new MapFeatures(sf.toSlug, sf.toString)
}
} else {