diff options
author | Bryan Newbold <bnewbold@archive.org> | 2018-08-21 21:22:19 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-08-21 21:22:19 -0700 |
commit | e81774a66980ba17c42380884f39aa61b54e5eef (patch) | |
tree | 12467e24010db18ab7dcf914790236e547ae2f8e /scalding/src/main/scala | |
parent | 55a3ca31e0107747d16f95d1c6f900f14c03f5f0 (diff) | |
download | sandcrawler-e81774a66980ba17c42380884f39aa61b54e5eef.tar.gz sandcrawler-e81774a66980ba17c42380884f39aa61b54e5eef.zip |
BibjsonScorable: fix ScorableFeatures (after rebase)
Diffstat (limited to 'scalding/src/main/scala')
-rw-r--r-- | scalding/src/main/scala/sandcrawler/BibjsonScorable.scala | 2 |
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 { |