Update QScript.scala
Relaxing addAll parameter type from Seq to Traversable to make it slightly more flexible.
This commit is contained in:
parent
08a7ef6620
commit
af36c7ce9a
|
|
@ -105,7 +105,7 @@ trait QScript extends Logging with PrimitiveOptionConversions with StringFileCon
|
||||||
this.functions ++= functions
|
this.functions ++= functions
|
||||||
}
|
}
|
||||||
|
|
||||||
def addAll(functions: Seq[QFunction]) {
|
def addAll(functions: Traversable[QFunction]) {
|
||||||
functions.foreach( f => add(f) )
|
functions.foreach( f => add(f) )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue