Repository: kudu Updated Branches: refs/heads/master 1f380f279 -> e6061b205
[Java] Remove ImmutableList use in kudu-spark This is currently breaking the build because another non-conflicting patch removed guava from kudu-spark. Change-Id: Ib8ddf8435d0e7224c379de38b8ec4649aa8d6c81 Reviewed-on: http://gerrit.cloudera.org:8080/10124 Reviewed-by: Adar Dembo <a...@cloudera.com> Tested-by: Grant Henke <granthe...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/e6061b20 Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/e6061b20 Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/e6061b20 Branch: refs/heads/master Commit: e6061b205415ad77160ad2e2bb934f62e1f1607c Parents: 1f380f2 Author: Grant Henke <granthe...@apache.org> Authored: Thu Apr 19 15:25:14 2018 -0500 Committer: Grant Henke <granthe...@apache.org> Committed: Thu Apr 19 20:47:04 2018 +0000 ---------------------------------------------------------------------- .../src/test/scala/org/apache/kudu/spark/kudu/TestContext.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/e6061b20/java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/TestContext.scala ---------------------------------------------------------------------- diff --git a/java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/TestContext.scala b/java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/TestContext.scala index f00a4b4..f290043 100644 --- a/java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/TestContext.scala +++ b/java/kudu-spark/src/test/scala/org/apache/kudu/spark/kudu/TestContext.scala @@ -74,9 +74,9 @@ trait TestContext extends BeforeAndAfterAll { self: Suite => } lazy val simpleSchema: Schema = { - val columns = ImmutableList.of( + val columns = List( new ColumnSchemaBuilder("key", Type.INT32).key(true).build(), - new ColumnSchemaBuilder("val", Type.STRING).nullable(true).build()) + new ColumnSchemaBuilder("val", Type.STRING).nullable(true).build()).asJava new Schema(columns) }