Created
April 15, 2011 15:40
-
-
Save blt/921901 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[info] Compiling main sources... | |
[warn] /home/blt/projects/smsproject/src/main/scala/com/fluentstream/smsbridge/Company.scala:15: non variable type-argument String in type pattern scala.collection.immutable.Set[String] is unchecked since it is eliminated by erasure | |
[warn] case Some(u:Set[String]) => | |
[warn] ^ | |
[warn] one warning found |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(actorFor("confighub") !! CompanyUserList(name)) match { | |
case Some(u:Set[String]) => | |
u.foreach(jid => { | |
val actor = actorOf(new User(jid)).start | |
self.link(actor) | |
users.put(jid, actor) | |
}) | |
case None => throw new RuntimeException | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment