HBASE-20880 Fix for warning It would fail on the following input in hbase-spark
Signed-off-by: tedyu <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e9fdcff6 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e9fdcff6 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e9fdcff6 Branch: refs/heads/HBASE-20749 Commit: e9fdcff69160ad5c9cf15161360e2b59fd1ed9f1 Parents: 3fc23fe Author: Artem Ervits <[email protected]> Authored: Thu Jul 12 13:18:07 2018 -0400 Committer: tedyu <[email protected]> Committed: Thu Jul 12 12:57:49 2018 -0700 ---------------------------------------------------------------------- .../org/apache/hadoop/hbase/spark/TableOutputFormatSuite.scala | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/e9fdcff6/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/TableOutputFormatSuite.scala ---------------------------------------------------------------------- diff --git a/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/TableOutputFormatSuite.scala b/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/TableOutputFormatSuite.scala index b306f08..f64447d 100644 --- a/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/TableOutputFormatSuite.scala +++ b/hbase-spark/src/test/scala/org/apache/hadoop/hbase/spark/TableOutputFormatSuite.scala @@ -124,6 +124,7 @@ class TableOutputFormatSuite extends FunSuite with else assert(false) } + case _ => None } }
