Skip to content

Commit

Permalink
Fix warning on returning non-unit from main
Browse files Browse the repository at this point in the history
  • Loading branch information
sboesch committed Dec 22, 2017
1 parent cdcfe07 commit cdef532
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import scala.collection.mutable
object OnlineHDPExample {

case class OnlineHDPParams(
input: Seq[String] = Seq.empty,
input: Seq[String] = Seq.empty[String],
master: String = "local",
k: Int = 20,
vocabSize: Int = 10000,
Expand All @@ -58,7 +58,7 @@ object OnlineHDPExample {

}

def main(args: Array[String]) = {
def main(args: Array[String]): Unit = {
parseAndRun(args)
}

Expand Down

0 comments on commit cdef532

Please sign in to comment.