Repository: incubator-samza Updated Branches: refs/heads/master 48f48a822 -> 5c65b03a4
SAMZA-352: Scala 2.9.2 build broken after SAMZA-337 Project: http://git-wip-us.apache.org/repos/asf/incubator-samza/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-samza/commit/deb99e57 Tree: http://git-wip-us.apache.org/repos/asf/incubator-samza/tree/deb99e57 Diff: http://git-wip-us.apache.org/repos/asf/incubator-samza/diff/deb99e57 Branch: refs/heads/master Commit: deb99e57f0b9b365169124a84a85e48884bb8f5a Parents: 5aef56f Author: Jakob Homan <[email protected]> Authored: Thu Jul 24 09:17:49 2014 -0700 Committer: Jakob Homan <[email protected]> Committed: Thu Jul 24 09:17:49 2014 -0700 ---------------------------------------------------------------------- .../test/scala/org/apache/samza/util/TestUtil.scala | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-samza/blob/deb99e57/samza-core/src/test/scala/org/apache/samza/util/TestUtil.scala ---------------------------------------------------------------------- diff --git a/samza-core/src/test/scala/org/apache/samza/util/TestUtil.scala b/samza-core/src/test/scala/org/apache/samza/util/TestUtil.scala index 5ed167d..ad6d2da 100644 --- a/samza-core/src/test/scala/org/apache/samza/util/TestUtil.scala +++ b/samza-core/src/test/scala/org/apache/samza/util/TestUtil.scala @@ -18,17 +18,16 @@ */ package org.apache.samza.util -import org.junit.Test import org.apache.samza.Partition +import org.apache.samza.config.Config +import org.apache.samza.config.MapConfig +import org.apache.samza.metrics.MetricsRegistry +import org.apache.samza.system.SystemFactory import org.apache.samza.system.SystemStreamPartition import org.apache.samza.util.Util._ import org.junit.Assert._ -import org.apache.samza.config.MapConfig +import org.junit.Test import scala.collection.JavaConversions._ -import org.apache.samza.system.SystemFactory -import org.apache.samza.metrics.MetricsRegistry -import org.apache.samza.config.Config - import scala.util.Random class TestUtil { @@ -105,7 +104,7 @@ class TestUtil { * @return An alphanumeric string */ def generateString (length : Int) : String = { - random.alphanumeric.take(length).mkString + Random.alphanumeric.take(length).mkString } @Test
