Created
November 19, 2009 18:55
-
-
Save stevej/238968 to your computer and use it in GitHub Desktop.
Fixing documentation output to say 'def'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/main/scala/sbt/DefaultProject.scala | |
=================================================================== | |
--- src/main/scala/sbt/DefaultProject.scala (revision 1129) | |
+++ src/main/scala/sbt/DefaultProject.scala (working copy) | |
@@ -445,7 +445,7 @@ | |
{ | |
log.warn("No Main-Class attribute will be added automatically added:") | |
log.warn("Multiple classes with a main method were detected. Specify main class explicitly with:") | |
- log.warn(" override mainClass = Some(\"className\")") | |
+ log.warn(" override def mainClass = Some(\"className\")") | |
} | |
private def mapScalaModule(in: Iterable[_], id: String) = | |
{ | |
@@ -511,4 +511,4 @@ | |
private def isScalaLibraryJar(file: File) = isNamed(file)(ScalaLibraryPrefix) | |
private def isNamed(file: File)(name: String) = file.getName.startsWith(name) | |
-} | |
\ No newline at end of file | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment