Changed LinkedList to Iterable in constructor, see #1278
This commit is contained in:
parent
5cc36fa476
commit
9e5c2f15fd
1 changed files with 2 additions and 2 deletions
|
|
@ -86,8 +86,8 @@ trait ConnectionManager {
|
|||
*/
|
||||
class LocalConnectionManager(initialConnections: Iterable[ActorRef]) extends ConnectionManager {
|
||||
|
||||
def this(linkedList: java.util.LinkedList[ActorRef]) {
|
||||
this(JavaConverters.iterableAsScalaIterableConverter(linkedList).asScala)
|
||||
def this(iterable: java.lang.Iterable[ActorRef]) {
|
||||
this(JavaConverters.iterableAsScalaIterableConverter(iterable).asScala)
|
||||
}
|
||||
|
||||
case class State(version: Long, connections: Iterable[ActorRef]) extends VersionedIterable[ActorRef] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue