HBASE-14991 Fix the '-feature' warning in scala build (Zhan Zhang)

This commit is contained in:
Jonathan M Hsieh 2015-12-17 14:19:36 -08:00
parent 80fc18d2e1
commit bbfff0d072
2 changed files with 4 additions and 0 deletions

View File

@ -537,6 +537,9 @@
<configuration> <configuration>
<charset>${project.build.sourceEncoding}</charset> <charset>${project.build.sourceEncoding}</charset>
<scalaVersion>${scala.version}</scalaVersion> <scalaVersion>${scala.version}</scalaVersion>
<args>
<arg>-feature</arg>
</args>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>

View File

@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.spark.datasources
import org.apache.hadoop.hbase.TableName import org.apache.hadoop.hbase.TableName
import org.apache.hadoop.hbase.client._ import org.apache.hadoop.hbase.client._
import org.apache.hadoop.hbase.spark.HBaseRelation import org.apache.hadoop.hbase.spark.HBaseRelation
import scala.language.implicitConversions
// Resource and ReferencedResources are defined for extensibility, // Resource and ReferencedResources are defined for extensibility,
// e.g., consolidate scan and bulkGet in the future work. // e.g., consolidate scan and bulkGet in the future work.