Commit 17f2c8ff authored by Dominik Charousset's avatar Dominik Charousset

updated signature of main() to allow program execution by calling 'java'

parent 0a3f279c
......@@ -95,7 +95,7 @@ object ActorCreation {
def usage() {
Console println "usage: (threaded|threadless|akka) POW\n creates 2^POW actors of given impl"
}
def main(args: Array[String]) = {
def main(args: Array[String]): Unit = {
if (args.size != 2) {
usage
throw new IllegalArgumentException("")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment