Skip to content

Instantly share code, notes, and snippets.

@blt
Created April 15, 2011 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blt/921901 to your computer and use it in GitHub Desktop.
Save blt/921901 to your computer and use it in GitHub Desktop.
[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
(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