aboutsummaryrefslogtreecommitdiffstats
path: root/scalding/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2018-08-21 21:22:19 -0700
committerBryan Newbold <bnewbold@archive.org>2018-08-21 21:22:19 -0700
commite81774a66980ba17c42380884f39aa61b54e5eef (patch)
tree12467e24010db18ab7dcf914790236e547ae2f8e /scalding/src
parent55a3ca31e0107747d16f95d1c6f900f14c03f5f0 (diff)
downloadsandcrawler-e81774a66980ba17c42380884f39aa61b54e5eef.tar.gz
sandcrawler-e81774a66980ba17c42380884f39aa61b54e5eef.zip
BibjsonScorable: fix ScorableFeatures (after rebase)
Diffstat (limited to 'scalding/src')
-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 {