porting sqltap to Scala 2.10