Update QScript.scala

Relaxing addAll parameter type from Seq to Traversable to make it slightly more flexible.
This commit is contained in:
lbergelson 2013-08-02 14:05:27 -04:00 committed by Louis Bergelson
parent 08a7ef6620
commit af36c7ce9a
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ trait QScript extends Logging with PrimitiveOptionConversions with StringFileCon
this.functions ++= functions
}
def addAll(functions: Seq[QFunction]) {
def addAll(functions: Traversable[QFunction]) {
functions.foreach( f => add(f) )
}