<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -237,7 +237,7 @@ trait TypeKinds { self: ICodes =&gt;
   //   override def maxType(other: TypeKind): TypeKind = other match {
   //     case STRING =&gt; STRING;
   //     case _   =&gt;
-  //       abort(&quot;Uncomparbale type kinds: STRING with &quot; + other);
+  //       abort(&quot;Uncomparable type kinds: STRING with &quot; + other);
   //   }
   // }
 
@@ -263,7 +263,7 @@ trait TypeKinds { self: ICodes =&gt;
         case REFERENCE(_) | ARRAY(_) =&gt;
           REFERENCE(AnyRefClass)
         case _ =&gt;
-          abort(&quot;Uncomparbale type kinds: REFERENCE with &quot; + other)
+          abort(&quot;Uncomparable type kinds: REFERENCE with &quot; + other)
       }
 
     /** Checks subtyping relationship. */
@@ -334,7 +334,7 @@ trait TypeKinds { self: ICodes =&gt;
           if (elem == elem2) ARRAY(elem)
           else REFERENCE(AnyRefClass)
         case _ =&gt;
-          abort(&quot;Uncomparbale type kinds: ARRAY with &quot; + other)
+          abort(&quot;Uncomparable type kinds: ARRAY with &quot; + other)
       }
 
     /** Array subtyping is covariant, as in Java. Necessary for checking 
@@ -370,7 +370,7 @@ trait TypeKinds { self: ICodes =&gt;
         case REFERENCE(_) | ARRAY(_) | BOXED(_) =&gt;
           REFERENCE(AnyRefClass)
         case _ =&gt;
-          abort(&quot;Uncomparbale type kinds: ARRAY with &quot; + other)
+          abort(&quot;Uncomparable type kinds: ARRAY with &quot; + other)
       }
 
     /** Checks subtyping relationship. */
@@ -409,7 +409,7 @@ trait TypeKinds { self: ICodes =&gt;
         case REFERENCE(_) =&gt;
           REFERENCE(AnyRefClass)
         case _ =&gt;
-          abort(&quot;Uncomparbale type kinds: ConcatClass with &quot; + other)
+          abort(&quot;Uncomparable type kinds: ConcatClass with &quot; + other)
       }
 
     /** Checks subtyping relationship. */</diff>
      <filename>src/compiler/scala/tools/nsc/backend/icode/TypeKinds.scala</filename>
    </modified>
    <modified>
      <diff>@@ -213,17 +213,6 @@ object Console {
    */
   def printf(text: String, args: Any*) { out.print(text format (args : _*)) }
 
-  /**
-   *  @see &lt;a href=&quot;#printf(java.lang.String,scala.Any*)&quot;
-   *       target=&quot;contentFrame&quot;&gt;Console.printf&lt;/a&gt;.
-   */
-  @deprecated(&quot;For console output, use &lt;code&gt;Console.printf&lt;/code&gt;. For &lt;code&gt;String&lt;/code&gt;\n&quot;+
-              &quot;formatting, &lt;code&gt;StringOps&lt;/code&gt;'s &lt;code&gt;format&lt;/code&gt; method.&quot;)
-  def format(text: String, args: Any*) {
-    if (text eq null) out.printf(&quot;null&quot;)
-    else out.print(text format (args : _*))
-  }
-
   /** Read a full line from the terminal.  Returns &lt;code&gt;null&lt;/code&gt; if the end of the 
    * input stream has been reached.
    *
@@ -435,26 +424,4 @@ object Console {
     }
     res
   }
-
-  private def textParams(s: Seq[Any]): Array[AnyRef] = {
-    val res = new Array[AnyRef](s.length)
-    var i: Int = 0
-    val iter = s.iterator
-    while (iter.hasNext) {
-      res(i) = iter.next match {
-        case x: Boolean =&gt; java.lang.Boolean.valueOf(x)
-        case x: Byte    =&gt; java.lang.Byte.valueOf(x)
-        case x: Short   =&gt; java.lang.Short.valueOf(x)
-        case x: Char    =&gt; java.lang.Character.valueOf(x)
-        case x: Int     =&gt; java.lang.Integer.valueOf(x)
-        case x: Long    =&gt; java.lang.Long.valueOf(x)
-        case x: Float   =&gt; java.lang.Float.valueOf(x)
-        case x: Double  =&gt; java.lang.Double.valueOf(x)
-        case x: Unit    =&gt; &quot;()&quot;
-        case x: AnyRef  =&gt; x
-      }
-      i += 1
-    }
-    res
-  }
 }</diff>
      <filename>src/library/scala/Console.scala</filename>
    </modified>
    <modified>
      <diff>@@ -50,12 +50,6 @@ sealed abstract class Option[+A] extends Product {
    */
   def get: A
 
-  @deprecated(&quot;use &lt;code&gt;getOrElse&lt;/code&gt; instead&quot;)
-  def get[B &gt;: A](default: B): B = this match {
-    case None =&gt; default
-    case Some(x) =&gt; x
-  }
-
   /** If the option is nonempty return its value,
    *  otherwise return the result of evaluating a default expression.
    *</diff>
      <filename>src/library/scala/Option.scala</filename>
    </modified>
    <modified>
      <diff>@@ -38,11 +38,6 @@ object Predef extends LowPriorityImplicits {
   @deprecated(&quot;lower-case type aliases will be removed&quot;) type boolean = scala.Boolean
   @deprecated(&quot;lower-case type aliases will be removed&quot;) type unit    = scala.Unit
 
-  @deprecated(&quot;use &lt;code&gt;java.lang.Integer&lt;/code&gt; instead&quot;)
-  type Integer = java.lang.Integer
-  @deprecated(&quot;use &lt;code&gt;java.lang.Character&lt;/code&gt; instead&quot;)
-  type Character = java.lang.Character
-
   type String        = java.lang.String
   type Class[T]      = java.lang.Class[T]
   type Runnable      = java.lang.Runnable</diff>
      <filename>src/library/scala/Predef.scala</filename>
    </modified>
    <modified>
      <diff>@@ -190,13 +190,6 @@ object Iterator {
     xs.slice(start, start + length).iterator
 
   /**
-   *  @param str the given string
-   *  @return    the iterator on &lt;code&gt;str&lt;/code&gt;
-   */
-  @deprecated(&quot;replaced by &lt;code&gt;str.iterator&lt;/code&gt;&quot;)
-  def fromString(str: String): Iterator[Char] = str.iterator
-
-  /**
    *  @param n the product arity
    *  @return  the iterator on &lt;code&gt;Product&amp;lt;n&amp;gt;&lt;/code&gt;.
    */</diff>
      <filename>src/library/scala/collection/Iterator.scala</filename>
    </modified>
    <modified>
      <diff>@@ -54,9 +54,5 @@ object Seq extends SeqFactory[Seq] {
   
   @deprecated(&quot;use Seq(value) instead&quot;)
   def singleton[A](value: A) = Seq(value) 
-
-  /** Builds a singleton sequence. */
-  @deprecated(&quot;use &lt;code&gt;Seq(x)&lt;/code&gt; instead.&quot;)
-  def single[A](x: A) = singleton(x)
 }
 </diff>
      <filename>src/library/scala/collection/Seq.scala</filename>
    </modified>
    <modified>
      <diff>@@ -616,15 +616,6 @@ trait SeqLike[+A, +Repr] extends IterableLike[A, Repr] { self =&gt;
   /** Returns index of the last element satisying a predicate, or -1. */
   @deprecated(&quot;use `lastIndexWhere' instead&quot;)
   def findLastIndexOf(p: A =&gt; Boolean): Int = lastIndexWhere(p)
-  
-  /** A sub-sequence starting at index &lt;code&gt;from&lt;/code&gt; 
-    *  and extending up to the length of the current sequence
-    *
-    *  @param from   The index of the first element of the slice
-    *  @throws IndexOutOfBoundsException if &lt;code&gt;from &amp;lt; 0&lt;/code&gt;
-    */
-  @deprecated(&quot;use `drop' instead&quot;)
-  def slice(from: Int): Seq[A] = toCollection(slice(from, length))
 
   @deprecated(&quot;Should be replaced by &lt;code&gt;(s1, s2) forall { case (x, y) =&gt; f(x, y) }&lt;/code&gt;&quot;)
   def equalsWith[B](that: Seq[B])(f: (A,B) =&gt; Boolean): Boolean = {</diff>
      <filename>src/library/scala/collection/SeqLike.scala</filename>
    </modified>
    <modified>
      <diff>@@ -57,7 +57,6 @@ trait SeqProxyLike[+A, +This &lt;: SeqLike[A, This] with Seq[A]] extends SeqLike[A,
   override def view = self.view
   override def view(from: Int, until: Int) = self.view(from, until)
   override def findLastIndexOf(p: A =&gt; Boolean): Int = self.lastIndexWhere(p)
-  override def slice(from: Int): Seq[A] = self.drop(from)
   override def equalsWith[B](that: Seq[B])(f: (A,B) =&gt; Boolean): Boolean = (self zip that) forall { case (x,y) =&gt; f(x,y) }
   override def containsSlice[B](that: Seq[B]): Boolean = self.indexOfSeq(that) != -1
 }</diff>
      <filename>src/library/scala/collection/SeqProxyLike.scala</filename>
    </modified>
    <modified>
      <diff>@@ -656,26 +656,6 @@ object List extends SeqFactory[List] {
     res
   }
 
-  /** Parses a string which contains substrings separated by a
-   *  separator character and returns a list of all substrings.
-   *
-   *  @param str       the string to parse
-   *  @param separator the separator character
-   *  @return          the list of substrings
-   */
-  @deprecated(&quot;use `str.split(separator).toList' instead&quot;)
-  def fromString(str: String, separator: Char): List[String] = {
-    var words: List[String] = Nil
-    var pos = str.length()
-    while (pos &gt; 0) {
-      val pos1 = str.lastIndexOf(separator, pos - 1)
-      if (pos1 + 1 &lt; pos)
-        words = str.substring(pos1 + 1, pos) :: words
-      pos = pos1
-    }
-    words
-  }
-
   /** Returns the given string as a list of characters.
    *
    *  @param str the string to convert.</diff>
      <filename>src/library/scala/collection/immutable/List.scala</filename>
    </modified>
    <modified>
      <diff>@@ -182,7 +182,7 @@ extends scala.collection.IndexedSeq[T]
   /** the subsequence from index `start' up to the  
    *  length of the current sequence.
    */
-  override def slice(start: Int) = slice(start, UndeterminedEnd)
+  def slice(start: Int): PagedSeq[T] = slice(start, UndeterminedEnd)
 
   /** Convert sequence to string */
   override def toString = {</diff>
      <filename>src/library/scala/collection/immutable/PagedSeq.scala</filename>
    </modified>
    <modified>
      <diff>@@ -62,18 +62,7 @@ class SyncVar[A] {
     isDefined = true
     notifyAll()
   }
-  
-  @deprecated(&quot;Will be removed in 2.8. SyncVar should not allow exception by design.&quot;)
-  def setWithCatch(x: =&gt; A) = synchronized {
-    try {
-      this set x
-    } catch {
-      case e =&gt;
-        this setException e
-        throw e
-    }
-  }
-  
+
   def put(x: A) = synchronized {
     while (isDefined) wait()
     set(x)</diff>
      <filename>src/library/scala/concurrent/SyncVar.scala</filename>
    </modified>
    <modified>
      <diff>@@ -15,12 +15,10 @@ package scala.ref
  * @author Sean McDirmid
  */
 trait Reference[+T &lt;: AnyRef] extends Function0[T] {
-  @deprecated(&quot;Use .get.isDefined instead&quot;)
-  def isValid: Boolean
   /** return the underlying value */
   def apply(): T
   /** return &lt;code&gt;Some&lt;/code&gt; underlying if it hasn't been collected, otherwise &lt;code&gt;None&lt;/code&gt; */
-  def get : Option[T]
+  def get: Option[T]
   override def toString = get.map(_.toString).getOrElse(&quot;&lt;deleted&gt;&quot;)
   def clear(): Unit
   def enqueue(): Boolean</diff>
      <filename>src/library/scala/ref/Reference.scala</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,6 @@ package scala.ref
  */
 trait ReferenceWrapper[+T &lt;: AnyRef] extends Reference[T] with Proxy {
   val underlying: java.lang.ref.Reference[_ &lt;: T]
-  @deprecated(&quot;Use .get.isDefined instead&quot;) def isValid = underlying.get != null
   override def get = {
     val ret = underlying.get
     if (ret eq null) None else Some(ret)</diff>
      <filename>src/library/scala/ref/ReferenceWrapper.scala</filename>
    </modified>
    <modified>
      <diff>@@ -16,9 +16,6 @@ package scala.util.parsing.input
  */
 object CharArrayReader {
   final val EofCh = '\032'
-
-  @deprecated(&quot;This should probably be LF instead?&quot;)
-  final val CR = '\015'
 }
 
 /** A character array reader reads a stream of characters (keeping track of their positions) </diff>
      <filename>src/library/scala/util/parsing/input/CharArrayReader.scala</filename>
    </modified>
    <modified>
      <diff>@@ -74,9 +74,6 @@ object Utility extends AnyRef with parsing.TokenTests
 	  case _ =&gt; n
   }
 
-  @deprecated(&quot;a string might also be Atom(s) - define your own conversion&quot;)
-  def view(s: String): Text = Text(s)
-
   /**
    * Escapes the characters &amp;lt; &amp;gt; &amp;amp; and &amp;quot; from string.
    *</diff>
      <filename>src/library/scala/xml/Utility.scala</filename>
    </modified>
    <modified>
      <diff>@@ -125,10 +125,9 @@ class Worker(val fileManager: FileManager) extends Actor {
     val classpath: List[URL] =
       outDir.toURL ::
       //List(file.getParentFile.toURL) :::
-      List(latestCompFile.toURL, latestLibFile.toURL,
-           latestActFile.toURL, latestPartestFile.toURL) :::
-      (List.fromString(CLASSPATH, File.pathSeparatorChar) map { x =&gt;
-        (new File(x)).toURL })
+      List(latestCompFile.toURL, latestLibFile.toURL, latestActFile.toURL, latestPartestFile.toURL) :::
+      ((CLASSPATH split File.pathSeparatorChar).toList map (x =&gt; new File(x).toURL))
+      
     NestUI.verbose(&quot;ObjectRunner classpath: &quot;+classpath)
 
     try {
@@ -589,7 +588,7 @@ class Worker(val fileManager: FileManager) extends Actor {
               &quot;-d &quot;+outDir.getCanonicalFile.getAbsolutePath+
               &quot; -Xresident&quot;+
               &quot; -sourcepath &quot;+sourcepath
-            val argList = List.fromString(argString, ' ')
+            val argList = argString split ' ' toList
 
             // configure input/output files
             val logOut    = new FileOutputStream(logFile)
@@ -610,7 +609,7 @@ class Worker(val fileManager: FileManager) extends Actor {
 
             val resCompile = (line: String) =&gt; {
               NestUI.verbose(&quot;compiling &quot;+line)
-              val cmdArgs = List.fromString(line, ' ') map { fs =&gt; new File(dir, fs).getAbsolutePath }
+              val cmdArgs = (line split ' ').toList map (fs =&gt; new File(dir, fs).getAbsolutePath)
               NestUI.verbose(&quot;cmdArgs: &quot;+cmdArgs)
               val sett = new Settings(error)
               sett.sourcepath.value = sourcepath</diff>
      <filename>src/partest/scala/tools/partest/nest/Worker.scala</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>src/library/scala/concurrent/jolib.scala</filename>
    </removed>
    <removed>
      <filename>src/library/scala/unsealed.scala</filename>
    </removed>
    <removed>
      <filename>src/library/scala/util/parsing/input/CharArrayPosition.scala</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>b40769d7277753a5867310b35993dcf7845a7baa</id>
    </parent>
  </parents>
  <author>
    <name>extempore</name>
    <email>extempore@5e8d7ff9-d8ef-0310-90f0-a4852d11357a</email>
  </author>
  <url>http://github.com/paulp/scala/commit/41ff1d920901046b89b92b464f0ce95e9fd78652</url>
  <id>41ff1d920901046b89b92b464f0ce95e9fd78652</id>
  <committed-date>2009-11-12T13:39:12-08:00</committed-date>
  <authored-date>2009-11-12T13:39:12-08:00</authored-date>
  <message>Removed everything deprecated in 2.7.3 or earlier except the
lower case primitive type aliases, plus associated fixes.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19600 5e8d7ff9-d8ef-0310-90f0-a4852d11357a</message>
  <tree>da8905e4ea48f248f3681a60c5a51d8a33eab38c</tree>
  <committer>
    <name>extempore</name>
    <email>extempore@5e8d7ff9-d8ef-0310-90f0-a4852d11357a</email>
  </committer>
</commit>
