You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by sh...@apache.org on 2017/05/12 01:10:17 UTC

incubator-predictionio-template-similar-product git commit: Fix warnings

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 <ta...@apache.org>
Authored: Fri May 12 10:09:40 2017 +0900
Committer: Shinsuke Sugaya <sh...@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],