predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shins...@apache.org
Subject incubator-predictionio-template-similar-product git commit: Fix warnings
Date Fri, 12 May 2017 01:10:17 GMT
Repository: incubator-predictionio-template-similar-product
Updated Branches:
  refs/heads/develop 893fca51b -> 8a3e549da


Fix warnings

closes #15


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-similar-product/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-similar-product/commit/8a3e549d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-similar-product/tree/8a3e549d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-similar-product/diff/8a3e549d

Branch: refs/heads/develop
Commit: 8a3e549da1bf19bea352f0ac11ac7eaaf350f80d
Parents: 893fca5
Author: Naoki Takezoe <takezoe@apache.org>
Authored: Fri May 12 10:09:40 2017 +0900
Committer: Shinsuke Sugaya <shinsuke@apache.org>
Committed: Fri May 12 10:09:40 2017 +0900

----------------------------------------------------------------------
 src/main/scala/Engine.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-similar-product/blob/8a3e549d/src/main/scala/Engine.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Engine.scala b/src/main/scala/Engine.scala
index ac587d7..c4a7459 100644
--- a/src/main/scala/Engine.scala
+++ b/src/main/scala/Engine.scala
@@ -1,6 +1,6 @@
 package org.example.similarproduct
 
-import org.apache.predictionio.controller.IEngineFactory
+import org.apache.predictionio.controller.EngineFactory
 import org.apache.predictionio.controller.Engine
 
 case class Query(
@@ -23,7 +23,7 @@ case class ItemScore(
   score: Double
 ) extends Serializable
 
-object SimilarProductEngine extends IEngineFactory {
+object SimilarProductEngine extends EngineFactory {
   def apply() = {
     new Engine(
       classOf[DataSource],


Mime
View raw message