Hi,
i have software project under scala-ide with mixed java and scala classes. I have a class named BulkImporter.scala and another class named Dispatcher.java.
In Dispatcher.java i wrote:
.....
if (response instanceof BulkImporter.Accepted$) {.....code...}
.....
The scala-ide give me a compilation error: BulkImporter.Accepted$ cannot be resolved to a type . Why?
I tried with another IDE and no compilation error found.
Can you help me please?
Many thanks
Mirco
--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-dev/24a655f4-60b9-4982-ab77-1e8b20ab488d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Simon,
many thanks for the quick response. Accepted is defined in a BulkImporter object. BulkImporter is a actor. I have attached the complete file.
object BulkImporter {
trait Response {}
case class ImportAll(completeImport: Try[Any] => Unit)
case object Accepted extends Response
case object Refused extends Response
case class ImporterConfiguration(batchSize: Int,
workerCount: Int,
enricherCount: Int,
solrRequesterCount: Int,
maxRows: Long)
}
Thanks!
--
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-dev/71987574-d441-4877-8b19-fc74552758e8%40googlegroups.com.
--Thanks!
You received this message because you are subscribed to the Google Groups "Scala IDE Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-ide-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/scala-ide-dev/71987574-d441-4877-8b19-fc74552758e8%40googlegroups.com.