[Assorted-commits] SF.net SVN: assorted:[994] scala-commons/trunk
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-10-07 07:50:33
|
Revision: 994 http://assorted.svn.sourceforge.net/assorted/?rev=994&view=rev Author: yangzhang Date: 2008-10-07 07:50:23 +0000 (Tue, 07 Oct 2008) Log Message: ----------- updating for scala 2.7.2 Modified Paths: -------------- scala-commons/trunk/README scala-commons/trunk/publish.bash scala-commons/trunk/src/commons/Misc.scala Modified: scala-commons/trunk/README =================================================================== --- scala-commons/trunk/README 2008-10-07 01:58:49 UTC (rev 993) +++ scala-commons/trunk/README 2008-10-07 07:50:23 UTC (rev 994) @@ -25,6 +25,16 @@ [JScrape]: http://apsquared.net/JScrape.html [gnuplot]: http://www.gnuplot.info/ +Setup +----- + +Requirements: + +- [Scala] 2.7.2-RC2 +- [SimpleBuild] + +[SimpleBuild]: http://assorted.sf.net/simple-build/ + Related work ------------ Modified: scala-commons/trunk/publish.bash =================================================================== --- scala-commons/trunk/publish.bash 2008-10-07 01:58:49 UTC (rev 993) +++ scala-commons/trunk/publish.bash 2008-10-07 07:50:23 UTC (rev 994) @@ -7,7 +7,7 @@ } fullname='Scala Commons' -version=0.1 +version=0.2 license=scala websrcs=( README ) webfiles=( src/doc ) Modified: scala-commons/trunk/src/commons/Misc.scala =================================================================== --- scala-commons/trunk/src/commons/Misc.scala 2008-10-07 01:58:49 UTC (rev 993) +++ scala-commons/trunk/src/commons/Misc.scala 2008-10-07 07:50:23 UTC (rev 994) @@ -60,10 +60,6 @@ */ def !==(that: String) = !(===(that)) /** - * Repeat the string n times. - */ - def *(n: Int) = repeat(s) take n mkString ("", "", "") - /** * Truncate a string to be of length n. */ def truncate(n: Int) = s substring (0, s.length - n) @@ -75,7 +71,7 @@ /** * String interpolator. */ - def format(a: Array[AnyRef]) = String.format(s, a) + def format(a: Array[AnyRef]) = String.format(s, a:_*) } implicit def str2xstr(s: String): XString = XString(s) implicit def xstr2str(s: XString): String = s.s This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |