Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Scala 2.10 fix

  • Loading branch information...
commit 8a93543d5001c41e0b590e2c4955125aeece41cb 1 parent 7bf9815
@sattvik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/scala/com/sattvik/baitha/database/Query.scala
View
2  src/main/scala/com/sattvik/baitha/database/Query.scala
@@ -49,7 +49,7 @@ class Query[A] private(
/** Returns a version of the query that retrieves the given columns. */
def withColumns(columns: Traversable[_]): Query[A] = {
- val columnArray = Some(columns map {_.toString} toArray)
+ val columnArray = Some(columns map {a: Any => a.toString} toArray)
new Query(source, columnArray, where, whereArgs, sort)
}
Please sign in to comment.
Something went wrong with that request. Please try again.