aboutsummaryrefslogtreecommitdiff
path: root/stage1/ClassPath.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage1/ClassPath.scala')
-rw-r--r--stage1/ClassPath.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/stage1/ClassPath.scala b/stage1/ClassPath.scala
index 6e6f113..d8568c2 100644
--- a/stage1/ClassPath.scala
+++ b/stage1/ClassPath.scala
@@ -16,7 +16,7 @@ case class ClassPath(files: Seq[File] = Seq()){
nonExisting.isEmpty,
"Classpath contains entires that don't exist on disk:\n" ++ nonExisting.mkString("\n") ++ "\nin classpath:\n"++string
)
-
+
def +:(file: File) = ClassPath(file +: files)
def :+(file: File) = ClassPath(files :+ file)
def ++(other: ClassPath) = ClassPath(files ++ other.files)
@@ -24,5 +24,4 @@ case class ClassPath(files: Seq[File] = Seq()){
def strings = files.map{
f => f.string ++ ( if(f.isDirectory) "/" else "" )
}.sorted
- def toConsole = string
}