diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-02-24 15:04:22 +0100 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-03-05 09:40:32 -0800 |
commit | a8d60a6c76d2d5434148c2d7c8f2bf147855252c (patch) | |
tree | 6020d5153e844bbc5296b8a4251fc7858d429f09 /src/reflect/scala/reflect/io/ZipArchive.scala | |
parent | fff0f50773b45690d571852b139bd6da7b6a45ae (diff) | |
download | scala-a8d60a6c76d2d5434148c2d7c8f2bf147855252c.tar.gz scala-a8d60a6c76d2d5434148c2d7c8f2bf147855252c.tar.bz2 scala-a8d60a6c76d2d5434148c2d7c8f2bf147855252c.zip |
Name boolean arguments in src/reflect.
Diffstat (limited to 'src/reflect/scala/reflect/io/ZipArchive.scala')
-rw-r--r-- | src/reflect/scala/reflect/io/ZipArchive.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflect/scala/reflect/io/ZipArchive.scala b/src/reflect/scala/reflect/io/ZipArchive.scala index 78fc8d9cc8..5414441e00 100644 --- a/src/reflect/scala/reflect/io/ZipArchive.scala +++ b/src/reflect/scala/reflect/io/ZipArchive.scala @@ -39,8 +39,8 @@ object ZipArchive { */ def fromURL(url: URL): URLZipArchive = new URLZipArchive(url) - private def dirName(path: String) = splitPath(path, true) - private def baseName(path: String) = splitPath(path, false) + private def dirName(path: String) = splitPath(path, front = true) + private def baseName(path: String) = splitPath(path, front = false) private def splitPath(path0: String, front: Boolean): String = { val isDir = path0.charAt(path0.length - 1) == '/' val path = if (isDir) path0.substring(0, path0.length - 1) else path0 |