predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [40/50] [abbrv] incubator-predictionio git commit: Remove useless val in case classes
Date Mon, 27 Jun 2016 19:31:54 GMT
Remove useless val in case classes

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

Branch: refs/heads/master
Commit: a1461c10402ddc32f0e7c545eb48f9e969cce850
Parents: 12771fa
Author: Hyukjin Kwon <gurwls223@gmail.com>
Authored: Tue Mar 29 12:51:01 2016 +0900
Committer: Hyukjin Kwon <gurwls223@gmail.com>
Committed: Tue Mar 29 12:51:01 2016 +0900

----------------------------------------------------------------------
 examples/experimental/scala-stock/src/main/scala/Data.scala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/a1461c10/examples/experimental/scala-stock/src/main/scala/Data.scala
----------------------------------------------------------------------
diff --git a/examples/experimental/scala-stock/src/main/scala/Data.scala b/examples/experimental/scala-stock/src/main/scala/Data.scala
index 5f1d144..a57ef28 100644
--- a/examples/experimental/scala-stock/src/main/scala/Data.scala
+++ b/examples/experimental/scala-stock/src/main/scala/Data.scala
@@ -72,9 +72,9 @@ case class DataView(val rawData: RawData, val idx: Int, val maxWindowSize:
Int)
 
 // Training data visible to the user is [untilIdx - windowSize, untilIdx).
 case class TrainingData(
-  val untilIdx: Int,
-  val maxWindowSize: Int,
-  val rawDataB: Broadcast[RawData]) {
+  untilIdx: Int,
+  maxWindowSize: Int,
+  rawDataB: Broadcast[RawData]) {
  
   def view(): DataView = DataView(rawDataB.value, untilIdx - 1, maxWindowSize)
 }


Mime
View raw message