diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-02-24 22:35:56 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-02-24 22:41:15 +0100 |
commit | e7ab2f4a978e244cdd4c8c03170caa2a44c7adea (patch) | |
tree | d13d92d880836e009aebcc20b73da81dc45a2f5b /src/compiler/scala/tools/nsc/io | |
parent | d1b16c4dc484d5f431bc4635148b065e722b2315 (diff) | |
download | scala-e7ab2f4a978e244cdd4c8c03170caa2a44c7adea.tar.gz scala-e7ab2f4a978e244cdd4c8c03170caa2a44c7adea.tar.bz2 scala-e7ab2f4a978e244cdd4c8c03170caa2a44c7adea.zip |
Be explicit about empty param list calls.
With the exception of toString and the odd JavaBean getter.
Diffstat (limited to 'src/compiler/scala/tools/nsc/io')
-rw-r--r-- | src/compiler/scala/tools/nsc/io/Jar.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/io/Jar.scala b/src/compiler/scala/tools/nsc/io/Jar.scala index 0dca75dab9..94399f936b 100644 --- a/src/compiler/scala/tools/nsc/io/Jar.scala +++ b/src/compiler/scala/tools/nsc/io/Jar.scala @@ -115,9 +115,9 @@ class JarWriter(val file: File, val manifest: Manifest) { val buf = new Array[Byte](10240) def loop(): Unit = in.read(buf, 0, buf.length) match { case -1 => in.close() - case n => out.write(buf, 0, n) ; loop + case n => out.write(buf, 0, n) ; loop() } - loop + loop() } def close() = out.close() |