Repository: hbase Updated Branches: refs/heads/trunk [created] bbfff0d07
HBASE-14991 Fix the '-feature' warning in scala build (Zhan Zhang) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/bbfff0d0 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/bbfff0d0 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/bbfff0d0 Branch: refs/heads/trunk Commit: bbfff0d07266c5ed416f415c7f3cfecd54e0ae5b Parents: 80fc18d Author: Jonathan M Hsieh <jmhs...@apache.org> Authored: Thu Dec 17 14:19:36 2015 -0800 Committer: Jonathan M Hsieh <jmhs...@apache.org> Committed: Thu Dec 17 14:19:36 2015 -0800 ---------------------------------------------------------------------- hbase-spark/pom.xml | 3 +++ .../apache/hadoop/hbase/spark/datasources/HBaseResources.scala | 1 + 2 files changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/bbfff0d0/hbase-spark/pom.xml ---------------------------------------------------------------------- diff --git a/hbase-spark/pom.xml b/hbase-spark/pom.xml index ec911bd..2efbca0 100644 --- a/hbase-spark/pom.xml +++ b/hbase-spark/pom.xml @@ -537,6 +537,9 @@ <configuration> <charset>${project.build.sourceEncoding}</charset> <scalaVersion>${scala.version}</scalaVersion> + <args> + <arg>-feature</arg> + </args> </configuration> <executions> <execution> http://git-wip-us.apache.org/repos/asf/hbase/blob/bbfff0d0/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseResources.scala ---------------------------------------------------------------------- diff --git a/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseResources.scala b/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseResources.scala index 4417520..19a6ea7 100644 --- a/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseResources.scala +++ b/hbase-spark/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseResources.scala @@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.spark.datasources import org.apache.hadoop.hbase.TableName import org.apache.hadoop.hbase.client._ import org.apache.hadoop.hbase.spark.HBaseRelation +import scala.language.implicitConversions // Resource and ReferencedResources are defined for extensibility, // e.g., consolidate scan and bulkGet in the future work.