diff options
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompileSocket.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/CompileSocket.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/compiler/scala/tools/nsc/CompileSocket.scala b/src/compiler/scala/tools/nsc/CompileSocket.scala index f5fe702e7a..c22181eabf 100644 --- a/src/compiler/scala/tools/nsc/CompileSocket.scala +++ b/src/compiler/scala/tools/nsc/CompileSocket.scala @@ -251,15 +251,15 @@ class CompileSocket { } def getPassword(port: Int): String = { - val ff=portFile(port) + val ff = portFile(port) val f = new BufferedReader(new FileReader(ff)) // allow some time for the server to start up - var retry=50 - while (ff.length()==0 && retry>0) { + var retry = 50 + while (ff.length() == 0 && retry > 0) { Thread.sleep(100) - retry-=1 + retry -= 1 } - if (ff.length()==0) { + if (ff.length() == 0) { ff.delete() fatal("Unable to establish connection to server.") } |