predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shins...@apache.org
Subject incubator-predictionio-template-text-classifier git commit: Fix warnings
Date Fri, 12 May 2017 00:48:08 GMT
Repository: incubator-predictionio-template-text-classifier
Updated Branches:
  refs/heads/master b24325a39 -> fadef4318


Fix warnings

closes #13


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-text-classifier/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-text-classifier/commit/fadef431
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-text-classifier/tree/fadef431
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-text-classifier/diff/fadef431

Branch: refs/heads/master
Commit: fadef4318cd166fb4423455d4e9a72edc6057be1
Parents: b24325a
Author: Naoki Takezoe <takezoe@apache.org>
Authored: Fri May 12 09:46:41 2017 +0900
Committer: Shinsuke Sugaya <shinsuke@apache.org>
Committed: Fri May 12 09:46:41 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-text-classifier/blob/fadef431/src/main/scala/Engine.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Engine.scala b/src/main/scala/Engine.scala
index 16d47ac..abe8778 100644
--- a/src/main/scala/Engine.scala
+++ b/src/main/scala/Engine.scala
@@ -1,6 +1,6 @@
 package org.example.textclassification
 
-import org.apache.predictionio.controller.IEngineFactory
+import org.apache.predictionio.controller.EngineFactory
 import org.apache.predictionio.controller.Engine
 
 /** Define Query class which serves as a wrapper for
@@ -22,7 +22,7 @@ case class PredictedResult(
 case class ActualResult(category: String) extends Serializable
 
 /** Define Engine */
-object TextClassificationEngine extends IEngineFactory {
+object TextClassificationEngine extends EngineFactory {
   def apply() = {
     new Engine(
       classOf[DataSource],


Mime
View raw message