Skip to content

Commit

Permalink
Fix scala style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun Rui committed Aug 28, 2015
1 parent 02c64eb commit 2bc97ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private[r] object SQLUtils {

// Support using regex in string interpolation
private[this] implicit class RegexContext(sc: StringContext) {
def r = new Regex(sc.parts.mkString, sc.parts.tail.map(_ => "x"): _*)
def r: Regex = new Regex(sc.parts.mkString, sc.parts.tail.map(_ => "x"): _*)
}

def getSQLDataType(dataType: String): DataType = {
Expand Down

0 comments on commit 2bc97ad

Please sign in to comment.