Skip to content

Instantly share code, notes, and snippets.

Created January 8, 2013 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/4485358 to your computer and use it in GitHub Desktop.
Save anonymous/4485358 to your computer and use it in GitHub Desktop.
+++ b/src/library/scala/Enumeration.scala
+ @deprecated("Names should be specified individually or discovered via reflection", "2.10.0")
+ def this(initial: Int, names: String*) = {
+ @deprecated("Names should be specified individually or discovered via reflection", "2.10.0")
def this(names: String*) = this(0, names: _*)
+++ b/src/library/scala/Predef.scala
+ // @deprecated("Use scala.AnyRef instead", "2.10.0")
+ // def AnyRef = scala.AnyRef
+ @deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
type ClassManifest[T] = scala.reflect.ClassManifest[T]
+ // @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
type OptManifest[T] = scala.reflect.OptManifest[T]
+ // @deprecated("Use scala.reflect.ClassTag (to capture erasures) or scala.reflect.runtime.universe.TypeTag (to capture types) or both instead", "2.10.0")
+ type Manifest[T] = scala.reflect.Manifest[T]
+ @deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
val ClassManifest = scala.reflect.ClassManifest
+ // @deprecated("Use scala.reflect.ClassTag (to capture erasures) or scala.reflect.runtime.universe.TypeTag (to capture types) or both instead", "2.10.0")
val Manifest = scala.reflect.Manifest
+ // @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
val NoManifest = scala.reflect.NoManifest
+ // @deprecated("Use scala.reflect.classTag[T] and scala.reflect.runtime.universe.typeTag[T] instead", "2.10.0")
def manifest[T](implicit m: Manifest[T]) = m
+ @deprecated("Use scala.reflect.classTag[T] instead", "2.10.0")
def classManifest[T](implicit m: ClassManifest[T]) = m
+ // @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
def optManifest[T](implicit m: OptManifest[T]) = m
+ @deprecated("Use `sys.error(message)` instead", "2.9.0")
def error(message: String): Nothing = sys.error(message)
+ @deprecated("Use `sys.exit()` instead", "2.9.0")
def exit(): Nothing = sys.exit()
+ @deprecated("Use `sys.exit(status)` instead", "2.9.0")
def exit(status: Int): Nothing = sys.exit(status)
+ @deprecated("Use `formatString.format(args: _*)` or `arg.formatted(formatString)` instead", "2.9.0")
def format(text: String, xs: Any*) = augmentString(text).format(xs: _*)
+ @deprecated("Use `__resultOfEnsuring` instead", "2.10.0")
+ def x = __resultOfEnsuring
+ @deprecated("Use `__leftOfArrow` instead", "2.10.0")
+ def x = __leftOfArrow
+ @deprecated("Use `.toShort` for explicit conversion and `Byte.byte2short` for implicit conversion", "2.10.0") def byte2short(x: Byte): Short = x.toShort
+ @deprecated("Use `.toInt` for explicit conversion and `Byte.byte2int` for implicit conversion", "2.10.0") def byte2int(x: Byte): Int = x.toInt
+ @deprecated("Use `.toLong` for explicit conversion and `Byte.byte2long for implicit conversion", "2.10.0") def byte2long(x: Byte): Long = x.toLong
+ @deprecated("Use `.toFloat` for explicit conversion and `Byte.byte2float` for implicit conversion", "2.10.0") def byte2float(x: Byte): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Byte.byte2double` for implicit conversion", "2.10.0") def byte2double(x: Byte): Double = x.toDouble
+ @deprecated("Use `.toInt` for explicit conversion and `Short.short2int` for implicit conversion", "2.10.0") def short2int(x: Short): Int = x.toInt
+ @deprecated("Use `.toLong` for explicit conversion and `Short.short2long` for implicit conversion", "2.10.0") def short2long(x: Short): Long = x.toLong
+ @deprecated("Use `.toFloat` for explicit conversion and `Short.short2float` for implicit conversion", "2.10.0") def short2float(x: Short): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Short.short2double` for implicit conversion", "2.10.0") def short2double(x: Short): Double = x.toDouble
+ @deprecated("Use `.toInt` for explicit conversion and `Char.char2int` for implicit conversion", "2.10.0") def char2int(x: Char): Int = x.toInt
+ @deprecated("Use `.toLong` for explicit conversion and `Char.char2long` for implicit conversion", "2.10.0") def char2long(x: Char): Long = x.toLong
+ @deprecated("Use `.toFloat` for explicit conversion and `Char.char2float` for implicit conversion", "2.10.0") def char2float(x: Char): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Char.char2double` for implicit conversion", "2.10.0") def char2double(x: Char): Double = x.toDouble
+ @deprecated("Use `.toLong` for explicit conversion and `Int.int2long` for implicit conversion", "2.10.0") def int2long(x: Int): Long = x.toLong
+ @deprecated("Use `.toFloat` for explicit conversion and `Int.int2float` for implicit conversion", "2.10.0") def int2float(x: Int): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Int.int2double` for implicit conversion", "2.10.0") def int2double(x: Int): Double = x.toDouble
+ @deprecated("Use `.toFloat` for explicit conversion and `Long.long2float` for implicit conversion", "2.10.0") def long2float(x: Long): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Long.long2double` for implicit conversion", "2.10.0") def long2double(x: Long): Double = x.toDouble
+ @deprecated("Use `.toDouble` for explicit conversion and `Float.float2double` for implicit conversion", "2.10.0") def float2double(x: Float): Double = x.toDouble
+ @deprecated("Use `StringCanBuildFrom`", "2.10.0")
+ def stringCanBuildFrom: CanBuildFrom[String, Char, String] = StringCanBuildFrom
+++ b/src/library/scala/ScalaObject.scala
+@deprecated("ScalaObject will be removed", "2.10.0")
+trait ScalaObject
+++ b/src/library/scala/SpecializableCompanion.scala
+@deprecated("Use Specializable instead", "2.10.0")
private[scala] trait SpecializableCompanion
+++ b/src/library/scala/annotation/bridge.scala
+@deprecated("Reconsider whether using this annotation will accomplish anything", "2.10.0")
+private[scala] class bridge extends scala.annotation.StaticAnnotation
+++ b/src/library/scala/annotation/cloneable.scala
+@deprecated("instead of `@cloneable class C`, use `class C extends Cloneable`", "2.10.0")
+class cloneable extends scala.annotation.StaticAnnotation
+++ b/src/library/scala/annotation/migration.scala
+ @deprecated("Use the constructor taking two Strings instead.", "2.10.0")
+ def this(majorVersion: Int, minorVersion: Int, message: String) = this(message, majorVersion + "." + minorVersion)
+++ b/src/library/scala/annotation/target/package.scala
+ @deprecated("Use `@scala.annotation.meta.beanGetter` instead", "2.10.0")
+ type beanGetter = scala.annotation.meta.beanGetter
+ @deprecated("Use `@scala.annotation.meta.beanSetter` instead", "2.10.0")
+ type beanSetter = scala.annotation.meta.beanSetter
+ @deprecated("Use `@scala.annotation.meta.field` instead", "2.10.0")
+ type field = scala.annotation.meta.field
+ @deprecated("Use `@scala.annotation.meta.getter` instead", "2.10.0")
+ type getter = scala.annotation.meta.getter
+ @deprecated("Use `@scala.annotation.meta.param` instead", "2.10.0")
+ type param = scala.annotation.meta.param
+ @deprecated("Use `@scala.annotation.meta.setter` instead", "2.10.0")
+ type setter = scala.annotation.meta.setter
+++ b/src/library/scala/collection/GenTraversableOnce.scala
+ @deprecated("use fold instead", "2.10.0")
def /:\[A1 >: A](z: A1)(op: (A1, A1) => A1): A1 = fold(z)(op)
+++ b/src/library/scala/collection/JavaConversions.scala
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type ConcurrentMapWrapper[A, B] = Wrappers.ConcurrentMapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type DictionaryWrapper[A, B] = Wrappers.DictionaryWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type IterableWrapper[A] = Wrappers.IterableWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type IteratorWrapper[A] = Wrappers.IteratorWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JCollectionWrapper[A] = Wrappers.JCollectionWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JConcurrentMapWrapper[A, B] = Wrappers.JConcurrentMapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JDictionaryWrapper[A, B] = Wrappers.JDictionaryWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JEnumerationWrapper[A] = Wrappers.JEnumerationWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JIterableWrapper[A] = Wrappers.JIterableWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JIteratorWrapper[A] = Wrappers.JIteratorWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JListWrapper[A] = Wrappers.JListWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JMapWrapper[A, B] = Wrappers.JMapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JPropertiesWrapper = Wrappers.JPropertiesWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JSetWrapper[A] = Wrappers.JSetWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MapWrapper[A, B] = Wrappers.MapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MutableBufferWrapper[A] = Wrappers.MutableBufferWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MutableMapWrapper[A, B] = Wrappers.MutableMapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MutableSeqWrapper[A] = Wrappers.MutableSeqWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MutableSetWrapper[A] = Wrappers.MutableSetWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type SeqWrapper[A] = Wrappers.SeqWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type SetWrapper[A] = Wrappers.SetWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type ToIteratorWrapper[A] = Wrappers.ToIteratorWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val DictionaryWrapper = Wrappers.DictionaryWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val IterableWrapper = Wrappers.IterableWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val IteratorWrapper = Wrappers.IteratorWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JCollectionWrapper = Wrappers.JCollectionWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JConcurrentMapWrapper = Wrappers.JConcurrentMapWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JDictionaryWrapper = Wrappers.JDictionaryWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JEnumerationWrapper = Wrappers.JEnumerationWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JIterableWrapper = Wrappers.JIterableWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JIteratorWrapper = Wrappers.JIteratorWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JListWrapper = Wrappers.JListWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JMapWrapper = Wrappers.JMapWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JPropertiesWrapper = Wrappers.JPropertiesWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JSetWrapper = Wrappers.JSetWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val MutableBufferWrapper = Wrappers.MutableBufferWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val MutableMapWrapper = Wrappers.MutableMapWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val MutableSeqWrapper = Wrappers.MutableSeqWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val MutableSetWrapper = Wrappers.MutableSetWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val SeqWrapper = Wrappers.SeqWrapper
+
+++ b/src/library/scala/collection/JavaConverters.scala
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsJava[A] = Decorators.AsJava[A]
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsScala[A] = Decorators.AsScala[A]
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsJavaCollection[A] = Decorators.AsJavaCollection[A]
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsJavaEnumeration[A] = Decorators.AsJavaEnumeration[A]
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsJavaDictionary[A, B] = Decorators.AsJavaDictionary[A, B]
+++ b/src/library/scala/collection/TraversableOnce.scala
+ @deprecated("use OnceCanBuildFrom instead", "2.10.0")
+ def traversableOnceCanBuildFrom[T] = new OnceCanBuildFrom[T]
+ @deprecated("use MonadOps instead", "2.10.0")
+ def wrapTraversableOnce[A](trav: TraversableOnce[A]) = new MonadOps(trav)
+++ b/src/library/scala/collection/convert/DecorateAsJava.scala
+ @deprecated("Use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ implicit def asJavaConcurrentMapConverter[A, B](m: mutable.ConcurrentMap[A, B]): AsJava[juc.ConcurrentMap[A, B]] =
+++ b/src/library/scala/collection/convert/DecorateAsScala.scala
+ @deprecated("Use `mapAsScalaConcurrentMapConverter` instead, and use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ def asScalaConcurrentMapConverter[A, B](m: juc.ConcurrentMap[A, B]): AsScala[mutable.ConcurrentMap[A, B]] =
+++ b/src/library/scala/collection/convert/WrapAsJava.scala
+ @deprecated("Use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ implicit def asJavaConcurrentMap[A, B](m: mutable.ConcurrentMap[A, B]): juc.ConcurrentMap[A, B] = m match {
+++ b/src/library/scala/collection/convert/WrapAsScala.scala
+ @deprecated("Use `mapAsScalaConcurrentMap` instead, and use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ implicit def mapAsScalaDeprecatedConcurrentMap[A, B](m: juc.ConcurrentMap[A, B]): mutable.ConcurrentMap[A, B] =
+ @deprecated("Use `mapAsScalaConcurrentMap` instead, and use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ def asScalaConcurrentMap[A, B](m: juc.ConcurrentMap[A, B]): mutable.ConcurrentMap[A, B] = m match {
+++ b/src/library/scala/collection/generic/GenericClassTagTraversableTemplate.scala
+ @deprecated("use classTagCompanion instead", "2.10.0")
+ def classManifestCompanion: GenericClassManifestCompanion[CC] = classTagCompanion
+ @deprecated("use genericClassTagBuilder instead", "2.10.0")
+ def genericClassManifestBuilder[B](implicit manifest: ClassManifest[B]): Builder[B, CC[B]] = genericClassTagBuilder[B](manifest)
+++ b/src/library/scala/collection/generic/package.scala
+ @deprecated("use ClassTagTraversableFactory instead", "2.10.0")
+ type ClassManifestTraversableFactory[CC[X] <: Traversable[X] with GenericClassManifestTraversableTemplate[X, CC]] = ClassTagTraversableFactory[CC]
+ @deprecated("use GenericClassTagCompanion instead", "2.10.0")
+ type GenericClassManifestCompanion[+CC[X] <: Traversable[X]] = GenericClassTagCompanion[CC]
+ @deprecated("use GenericClassTagTraversableTemplate instead", "2.10.0")
+ type GenericClassManifestTraversableTemplate[+A, +CC[X] <: Traversable[X]] = GenericClassTagTraversableTemplate[A, CC]
+++ b/src/library/scala/collection/immutable/BitSet.scala
+ @deprecated("Use BitSet.fromBitMask[NoCopy] instead of fromArray", "2.10.0")
+ def fromArray(elems: Array[Long]): BitSet = fromBitMaskNoCopy(elems)
+ @deprecated("Use fromBitMask[NoCopy] instead of fromArray", "2.10.0")
+ def fromArray(elems: Array[Long]): BitSet = fromBitMaskNoCopy(elems)
+++ b/src/library/scala/collection/immutable/HashMap.scala
+ @deprecated("Use the `merged` method instead.", "2.10.0")
+ def merge[B1 >: B](that: HashMap[A, B1], mergef: MergeFunction[A, B1] = null): HashMap[A, B1] = merge0(that, 0, liftMerger(mergef))
+++ b/src/library/scala/collection/immutable/List.scala
+ @deprecated("use `distinct` instead", "2.8.0")
def removeDuplicates: List[A] = distinct
+ @deprecated("use `iterate` instead", "2.8.0")
def range(start: Int, end: Int, step: Int => Int): List[Int] = {
+ @deprecated("use `fill` instead", "2.8.0")
def make[A](n: Int, elem: A): List[A] = {
+ @deprecated("use `xss.flatten` instead of `List.flatten(xss)`", "2.8.0")
def flatten[A](xss: List[List[A]]): List[A] = {
+ @deprecated("use `xs.unzip` instead of `List.unzip(xs)`", "2.8.0")
def unzip[A,B](xs: List[(A,B)]): (List[A], List[B]) = {
+ @deprecated("use `xs.unzip` instead of `List.unzip(xs)`", "2.8.0")
def unzip[A,B](xs: Iterable[(A,B)]): (List[A], List[B]) =
+ @deprecated("use `xs collect { case Left(x: A) => x }` instead of `List.lefts(xs)`", "2.8.0")
def lefts[A, B](es: Iterable[Either[A, B]]) =
+ @deprecated("use `xs collect { case Right(x: B) => x }` instead of `List.rights(xs)`", "2.8.0")
def rights[A, B](es: Iterable[Either[A, B]]) =
+ @deprecated("use `it.toList` instead of `List.toList(it)`", "2.8.0")
def fromIterator[A](it: Iterator[A]): List[A] = it.toList
+ @deprecated("use `array.toList` instead of `List.fromArray(array)`", "2.8.0")
def fromArray[A](arr: Array[A]): List[A] = fromArray(arr, 0, arr.length)
+ @deprecated("use `array.view(start, end).toList` instead of `List.fromArray(array, start, end)`", "2.8.0")
def fromArray[A](arr: Array[A], start: Int, len: Int): List[A] = {
+ @deprecated("use `(xs, ys).zipped.map(f)` instead of `List.map2(xs, ys)(f)`", "2.8.0")
def map2[A,B,C](xs: List[A], ys: List[B])(f: (A, B) => C): List[C] = {
+ @deprecated("use `(xs, ys).zipped.forall(f)` instead of `List.forall2(xs, ys)(f)`", "2.8.0")
def forall2[A,B](xs: List[A], ys: List[B])(f: (A, B) => Boolean): Boolean = {
+ @deprecated("use `(xs, ys).zipped.exists(f)` instead of `List.exists2(xs, ys)(f)`", "2.8.0")
def exists2[A,B](xs: List[A], ys: List[B])(f: (A, B) => Boolean): Boolean = {
+ @deprecated("use `xss.transpose` instead of `List.transpose(xss)`", "2.8.0")
def transpose[A](xss: List[List[A]]): List[List[A]] = {
+++ b/src/library/scala/collection/immutable/RedBlack.scala
+@deprecated("use `TreeMap` or `TreeSet` instead", "2.10.0")
@SerialVersionUID(8691885935445612921L)
+++ b/src/library/scala/collection/immutable/TreeMap.scala
+ @deprecated("use `ordering.lt` instead", "2.10.0")
def isSmaller(x: A, y: A) = ordering.lt(x, y)
+++ b/src/library/scala/collection/immutable/TreeSet.scala
+ @deprecated("use `ordering.lt` instead", "2.10.0")
+ def isSmaller(x: A, y: A) = compare(x,y) < 0
+++ b/src/library/scala/collection/immutable/package.scala
+ @deprecated("this class will be removed", "2.10.0")
trait RangeUtils[+Repr <: RangeUtils[Repr]] {
+++ b/src/library/scala/collection/mutable/ConcurrentMap.scala
+@deprecated("Use `scala.collection.concurrent.Map` instead.", "2.10.0")
trait ConcurrentMap[A, B] extends Map[A, B] {
+++ b/src/library/scala/collection/mutable/WrappedArray.scala
+ @deprecated("use elemTag instead", "2.10.0")
+ def elemManifest: ClassManifest[T] = ClassManifest.fromClass[T](arrayElementClass(elemTag).asInstanceOf[Class[T]])
+++ b/src/library/scala/collection/mutable/WrappedArrayBuilder.scala
+ @deprecated("use tag instead", "2.10.0")
+ val manifest: ClassTag[A] = tag
+++ b/src/library/scala/collection/parallel/Tasks.scala
+@deprecated("This implementation is not used.", "2.10.0")
trait FutureThreadPoolTasks extends Tasks {
+++ b/src/library/scala/concurrent/FutureTaskRunner.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
trait FutureTaskRunner extends TaskRunner {
+ @deprecated("Use `blocking` instead.", "2.10.0")
def managedBlock(blocker: ManagedBlocker): Unit
+++ b/src/library/scala/concurrent/JavaConversions.scala
+ @deprecated("Use `asExecutionContext` instead.", "2.10.0")
implicit def asTaskRunner(exec: ExecutorService): FutureTaskRunner =
+ @deprecated("Use `asExecutionContext` instead.", "2.10.0")
implicit def asTaskRunner(exec: Executor): TaskRunner =
+++ b/src/library/scala/concurrent/ManagedBlocker.scala
+@deprecated("Use `blocking` instead.", "2.10.0")
trait ManagedBlocker {
+++ b/src/library/scala/concurrent/SyncVar.scala
+ @deprecated("Use `put` instead, as `set` is potentionally error-prone", "2.10.0")
+ def set(x: A): Unit = setVal(x)
+ @deprecated("Use `take` instead, as `unset` is potentionally error-prone", "2.10.0")
def unset(): Unit = synchronized {
+++ b/src/library/scala/concurrent/TaskRunner.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
trait TaskRunner {
+++ b/src/library/scala/concurrent/TaskRunners.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
object TaskRunners {
+++ b/src/library/scala/concurrent/ThreadPoolRunner.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
trait ThreadPoolRunner extends FutureTaskRunner {
+ @deprecated("Use `blocking` instead.", "2.10.0")
def managedBlock(blocker: ManagedBlocker) {
+++ b/src/library/scala/concurrent/ThreadRunner.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
class ThreadRunner extends FutureTaskRunner {
+ @deprecated("Use `blocking` instead.", "2.10.0")
def managedBlock(blocker: ManagedBlocker) {
+++ b/src/library/scala/deprecatedName.scala
+ * def inc(x: Int, @deprecatedName('y) n: Int): Int = x + n
+ * inc(1, y = 2)
+++ b/src/library/scala/io/BytePickle.scala
+@deprecated("This class will be removed.", "2.10.0")
object BytePickle {
+++ b/src/library/scala/io/Position.scala
+@deprecated("This class will be removed.", "2.10.0")
abstract class Position {
+++ b/src/library/scala/io/UTF8Codec.scala
+@deprecated("This class will be removed.", "2.10.0")
+object UTF8Codec {
+++ b/src/library/scala/math/BigDecimal.scala
+@deprecatedInheritance("This class will me made final.", "2.10.0")
class BigDecimal(
+++ b/src/library/scala/math/BigInt.scala
+@deprecatedInheritance("This class will me made final.", "2.10.0")
+class BigInt(val bigInteger: BigInteger) extends ScalaNumber with ScalaNumericConversions with Serializable {
+ @deprecated("Use ~bigInt (the unary_~ method) instead", "2.10.0")
+ def ~ : BigInt = ~this
+++ b/src/library/scala/package.scala
+ @deprecated("instead of `@cloneable class C`, use `class C extends Cloneable`", "2.10.0")
+ type cloneable = annotation.cloneable
+++ b/src/library/scala/parallel/Future.scala
+@deprecated("Use `scala.concurrent.Future` instead.", "2.10.0")
trait Future[@specialized +R] extends (() => R) {
+++ b/src/library/scala/reflect/ClassManifestDeprecatedApis.scala
+@deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
+trait ClassManifestDeprecatedApis[T] extends OptManifest[T] {
+ @deprecated("Use runtimeClass instead", "2.10.0")
+ def erasure: jClass[_] = runtimeClass
+ @deprecated("Use scala.reflect.runtime.universe.TypeTag for subtype checking instead", "2.10.0")
+ def <:<(that: ClassManifest[_]): Boolean = {
+ @deprecated("Use scala.reflect.runtime.universe.TypeTag for subtype checking instead", "2.10.0")
+ def >:>(that: ClassManifest[_]): Boolean =
+ @deprecated("Use wrap instead", "2.10.0")
+ def arrayManifest: ClassManifest[Array[T]] =
+ @deprecated("Use wrap.newArray instead", "2.10.0")
+ def newArray2(len: Int): Array[Array[T]] =
+ @deprecated("Use wrap.wrap.newArray instead", "2.10.0")
+ def newArray3(len: Int): Array[Array[Array[T]]] =
+ @deprecated("Use wrap.wrap.wrap.newArray instead", "2.10.0")
+ def newArray4(len: Int): Array[Array[Array[Array[T]]]] =
+ @deprecated("Use wrap.wrap.wrap.wrap.newArray instead", "2.10.0")
+ def newArray5(len: Int): Array[Array[Array[Array[Array[T]]]]] =
+ @deprecated("Create WrappedArray directly instead", "2.10.0")
+ def newWrappedArray(len: Int): WrappedArray[T] =
+ @deprecated("Use ArrayBuilder.make(this) instead", "2.10.0")
+ def newArrayBuilder(): ArrayBuilder[T] =
+ @deprecated("Use scala.reflect.runtime.universe.TypeTag to capture type structure instead", "2.10.0")
+ def typeArguments: List[OptManifest[_]] = List()
+ * In a perfect world, we would just remove the @deprecated annotation from `ClassManifest` the object
+ * and then delete it in 2.11. After all, that object is explicitly marked as internal, so noone should use it.
+++ b/src/library/scala/reflect/Manifest.scala
+// @deprecated("Use scala.reflect.ClassTag (to capture erasures) or scala.reflect.runtime.universe.TypeTag (to capture types) or both instead", "2.10.0")
trait Manifest[T] extends ClassManifest[T] with Equals {
+// @deprecated("Use type tags and manually check the corresponding class or type instead", "2.10.0")
+abstract class AnyValManifest[T <: AnyVal](override val toString: String) extends Manifest[T] with Equals {
+++ b/src/library/scala/reflect/NoManifest.scala
+// @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
object NoManifest extends OptManifest[Nothing] with Serializable {
+++ b/src/library/scala/reflect/OptManifest.scala
+// @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
+trait OptManifest[+T] extends Serializable
+++ b/src/library/scala/reflect/package.scala
+ @deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
+ @annotation.implicitNotFound(msg = "No ClassManifest available for ${T}.")
+ @deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
+ val ClassManifest = ClassManifestFactory
+ // @deprecated("Use scala.reflect.ClassTag (to capture erasures), scala.reflect.runtime.universe.TypeTag (to capture types) or both instead", "2.10.0")
+ val Manifest = ManifestFactory
+ @deprecated("Use `@scala.beans.BeanDescription` instead", "2.10.0")
+ type BeanDescription = scala.beans.BeanDescription
+ @deprecated("Use `@scala.beans.BeanDisplayName` instead", "2.10.0")
+ type BeanDisplayName = scala.beans.BeanDisplayName
+ @deprecated("Use `@scala.beans.BeanInfo` instead", "2.10.0")
+ type BeanInfo = scala.beans.BeanInfo
+ @deprecated("Use `@scala.beans.BeanInfoSkip` instead", "2.10.0")
+ type BeanInfoSkip = scala.beans.BeanInfoSkip
+ @deprecated("Use `@scala.beans.BeanProperty` instead", "2.10.0")
+ type BeanProperty = scala.beans.BeanProperty
+ @deprecated("Use `@scala.beans.BooleanBeanProperty` instead", "2.10.0")
+ type BooleanBeanProperty = scala.beans.BooleanBeanProperty
+ @deprecated("Use `@scala.beans.ScalaBeanInfo` instead", "2.10.0")
+ type ScalaBeanInfo = scala.beans.ScalaBeanInfo
+++ b/src/library/scala/runtime/WorksheetSupport.scala
+@deprecated("SI-6458: Instrumentation logic will be moved out of the compiler.","2.10.0")
+object WorksheetSupport {
+++ b/src/library/scala/testing/Benchmark.scala
+@deprecated("This class will be removed.", "2.10.0")
trait Benchmark {
+++ b/src/library/scala/testing/Show.scala
+@deprecated("This class will be removed.", "2.10.0")
trait Show {
+ @deprecated("use SymApply instead", "2.10.0")
+ def symApply(sym: Symbol): SymApply = new SymApply(sym)
+++ b/src/library/scala/util/Either.scala
+ @deprecated("use MergeableEither instead", "2.10.0")
+ def either2mergeable[A](x: Either[A, A]): MergeableEither[A] = new MergeableEither(x)
+++ b/src/library/scala/util/Marshal.scala
+@deprecated("This class will be removed", "2.10.0")
object Marshal {
+++ b/src/library/scala/util/MurmurHash.scala
+@deprecated("Use the object MurmurHash3 instead.", "2.10.0")
class MurmurHash[@specialized(Int,Long,Float,Double) T](seed: Int) extends (T => Unit) {
+@deprecated("Use the object MurmurHash3 instead.", "2.10.0")
object MurmurHash {
+++ b/src/library/scala/util/automata/BaseBerrySethi.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class BaseBerrySethi {
+++ b/src/library/scala/util/automata/DetWordAutom.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class DetWordAutom[T <: AnyRef] {
+++ b/src/library/scala/util/automata/Inclusion.scala
+@deprecated("This class will be removed", "2.10.0")
trait Inclusion[A <: AnyRef] {
+++ b/src/library/scala/util/automata/NondetWordAutom.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class NondetWordAutom[T <: AnyRef] {
+++ b/src/library/scala/util/automata/SubsetConstruction.scala
+@deprecated("This class will be removed", "2.10.0")
class SubsetConstruction[T <: AnyRef](val nfa: NondetWordAutom[T]) {
+++ b/src/library/scala/util/automata/WordBerrySethi.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class WordBerrySethi extends BaseBerrySethi {
+++ b/src/library/scala/util/grammar/HedgeRHS.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class HedgeRHS
+@deprecated("This class will be removed", "2.10.0")
case class ConsRHS(tnt: Int, hnt: Int) extends HedgeRHS
+@deprecated("This class will be removed", "2.10.0")
case object AnyHedgeRHS extends HedgeRHS
+@deprecated("This class will be removed", "2.10.0")
case object EmptyHedgeRHS extends HedgeRHS
+++ b/src/library/scala/util/grammar/TreeRHS.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class TreeRHS
+@deprecated("This class will be removed", "2.10.0")
case class LabelledRHS[A](label: A, hnt: Int) extends TreeRHS
+@deprecated("This class will be removed", "2.10.0")
case object AnyTreeRHS extends TreeRHS
+++ b/src/library/scala/util/hashing/MurmurHash3.scala
+ @deprecated("Use unorderedHash", "2.10.0")
+ final def symmetricHash[T](xs: scala.collection.GenTraversableOnce[T], seed: Int = symmetricSeed): Int =
+ @deprecated("Use orderedHash", "2.10.0")
+ final def traversableHash[T](xs: scala.collection.GenTraversableOnce[T], seed: Int = traversableSeed): Int =
+++ b/src/library/scala/util/logging/ConsoleLogger.scala
+@deprecated("This class will be removed.", "2.10.0")
trait ConsoleLogger extends Logged {
+++ b/src/library/scala/util/logging/Logged.scala
+@deprecated("This class will be removed.", "2.10.0")
trait Logged {
+++ b/src/library/scala/util/parsing/ast/AbstractSyntax.scala
+@deprecated("This class will be removed", "2.10.0")
trait AbstractSyntax {
+++ b/src/library/scala/util/parsing/ast/Binders.scala
+@deprecated("This class will be removed", "2.10.0")
trait Mappable {
+++ b/src/library/scala/util/parsing/combinator/Parsers.scala
+ @deprecated("lastNoSuccess was not thread-safe and will be removed in 2.11.0", "2.10.0")
+ def lastNoSuccess: NoSuccess = lastNoSuccessVar.value.orNull
+ @deprecated("lastNoSuccess was not thread-safe and will be removed in 2.11.0", "2.10.0")
+ def lastNoSuccess_=(x: NoSuccess): Unit = lastNoSuccessVar.value = Option(x)
+++ b/src/library/scala/util/parsing/combinator/testing/RegexTest.scala
+@deprecated("This class will be removed", "2.10.0")
case class Ident(s: String)
+@deprecated("This class will be removed", "2.10.0")
case class Number(n: Int)
+@deprecated("This class will be removed", "2.10.0")
case class Str(s: String)
+@deprecated("This class will be removed", "2.10.0")
object RegexTest extends RegexParsers {
+++ b/src/library/scala/util/parsing/combinator/testing/Tester.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class Tester {
+++ b/src/library/scala/util/regexp/Base.scala
+@deprecated("This class will be removed", "2.10.0")
+abstract class Base {
+++ b/src/library/scala/util/regexp/PointedHedgeExp.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class PointedHedgeExp extends Base {
+++ b/src/library/scala/util/regexp/SyntaxError.scala
+@deprecated("This class will be removed", "2.10.0")
class SyntaxError(e: String) extends RuntimeException(e)
+++ b/src/library/scala/util/regexp/WordExp.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class WordExp extends Base {
+++ b/src/library/scala/xml/Elem.scala
+ * @deprecated This factory method is retained for backward compatibility; please use the other one, with which you
+ * can specify your own preference for minimizeEmpty.
+ @deprecated("Use the other apply method in this object", "2.10.0")
+ def apply(prefix: String, label: String, attributes: MetaData, scope: NamespaceBinding, child: Node*): Elem =
+ @deprecated("This constructor is retained for backward compatibility. Please use the primary constructor, which lets you specify your own preference for `minimizeEmpty`.", "2.10.0")
+ def this(prefix: String, label: String, attributes: MetaData, scope: NamespaceBinding, child: Node*) = {
+++ b/src/library/scala/xml/Utility.scala
+ @deprecated("Please use `serialize` instead and specify a `minimizeTags` parameter", "2.10.0")
def toXML(
+++ b/src/library/scala/xml/include/sax/Main.scala
+@deprecated("Code example will be moved to documentation.", "2.10.0")
object Main {
+++ b/src/library/scala/Enumeration.scala
+ @deprecated("Names should be specified individually or discovered via reflection", "2.10.0")
+ def this(initial: Int, names: String*) = {
+ @deprecated("Names should be specified individually or discovered via reflection", "2.10.0")
def this(names: String*) = this(0, names: _*)
+++ b/src/library/scala/Predef.scala
+ // @deprecated("Use scala.AnyRef instead", "2.10.0")
+ // def AnyRef = scala.AnyRef
+ @deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
type ClassManifest[T] = scala.reflect.ClassManifest[T]
+ // @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
type OptManifest[T] = scala.reflect.OptManifest[T]
+ // @deprecated("Use scala.reflect.ClassTag (to capture erasures) or scala.reflect.runtime.universe.TypeTag (to capture types) or both instead", "2.10.0")
+ type Manifest[T] = scala.reflect.Manifest[T]
+ @deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
val ClassManifest = scala.reflect.ClassManifest
+ // @deprecated("Use scala.reflect.ClassTag (to capture erasures) or scala.reflect.runtime.universe.TypeTag (to capture types) or both instead", "2.10.0")
val Manifest = scala.reflect.Manifest
+ // @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
val NoManifest = scala.reflect.NoManifest
+ // @deprecated("Use scala.reflect.classTag[T] and scala.reflect.runtime.universe.typeTag[T] instead", "2.10.0")
def manifest[T](implicit m: Manifest[T]) = m
+ @deprecated("Use scala.reflect.classTag[T] instead", "2.10.0")
def classManifest[T](implicit m: ClassManifest[T]) = m
+ // @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
def optManifest[T](implicit m: OptManifest[T]) = m
+ @deprecated("Use `__resultOfEnsuring` instead", "2.10.0")
+ def x = __resultOfEnsuring
+ @deprecated("Use `__leftOfArrow` instead", "2.10.0")
+ def x = __leftOfArrow
+ @deprecated("Use `.toShort` for explicit conversion and `Byte.byte2short` for implicit conversion", "2.10.0") def byte2short(x: Byte): Short = x.toShort
+ @deprecated("Use `.toInt` for explicit conversion and `Byte.byte2int` for implicit conversion", "2.10.0") def byte2int(x: Byte): Int = x.toInt
+ @deprecated("Use `.toLong` for explicit conversion and `Byte.byte2long for implicit conversion", "2.10.0") def byte2long(x: Byte): Long = x.toLong
+ @deprecated("Use `.toFloat` for explicit conversion and `Byte.byte2float` for implicit conversion", "2.10.0") def byte2float(x: Byte): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Byte.byte2double` for implicit conversion", "2.10.0") def byte2double(x: Byte): Double = x.toDouble
+ @deprecated("Use `.toInt` for explicit conversion and `Short.short2int` for implicit conversion", "2.10.0") def short2int(x: Short): Int = x.toInt
+ @deprecated("Use `.toLong` for explicit conversion and `Short.short2long` for implicit conversion", "2.10.0") def short2long(x: Short): Long = x.toLong
+ @deprecated("Use `.toFloat` for explicit conversion and `Short.short2float` for implicit conversion", "2.10.0") def short2float(x: Short): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Short.short2double` for implicit conversion", "2.10.0") def short2double(x: Short): Double = x.toDouble
+ @deprecated("Use `.toInt` for explicit conversion and `Char.char2int` for implicit conversion", "2.10.0") def char2int(x: Char): Int = x.toInt
+ @deprecated("Use `.toLong` for explicit conversion and `Char.char2long` for implicit conversion", "2.10.0") def char2long(x: Char): Long = x.toLong
+ @deprecated("Use `.toFloat` for explicit conversion and `Char.char2float` for implicit conversion", "2.10.0") def char2float(x: Char): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Char.char2double` for implicit conversion", "2.10.0") def char2double(x: Char): Double = x.toDouble
+ @deprecated("Use `.toLong` for explicit conversion and `Int.int2long` for implicit conversion", "2.10.0") def int2long(x: Int): Long = x.toLong
+ @deprecated("Use `.toFloat` for explicit conversion and `Int.int2float` for implicit conversion", "2.10.0") def int2float(x: Int): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Int.int2double` for implicit conversion", "2.10.0") def int2double(x: Int): Double = x.toDouble
+ @deprecated("Use `.toFloat` for explicit conversion and `Long.long2float` for implicit conversion", "2.10.0") def long2float(x: Long): Float = x.toFloat
+ @deprecated("Use `.toDouble` for explicit conversion and `Long.long2double` for implicit conversion", "2.10.0") def long2double(x: Long): Double = x.toDouble
+ @deprecated("Use `.toDouble` for explicit conversion and `Float.float2double` for implicit conversion", "2.10.0") def float2double(x: Float): Double = x.toDouble
+ @deprecated("Use `StringCanBuildFrom`", "2.10.0")
+ def stringCanBuildFrom: CanBuildFrom[String, Char, String] = StringCanBuildFrom
+++ b/src/library/scala/ScalaObject.scala
+@deprecated("ScalaObject will be removed", "2.10.0")
+trait ScalaObject
+++ b/src/library/scala/SpecializableCompanion.scala
+@deprecated("Use Specializable instead", "2.10.0")
private[scala] trait SpecializableCompanion
+++ b/src/library/scala/annotation/bridge.scala
+@deprecated("Reconsider whether using this annotation will accomplish anything", "2.10.0")
+private[scala] class bridge extends scala.annotation.StaticAnnotation
+++ b/src/library/scala/annotation/cloneable.scala
+@deprecated("instead of `@cloneable class C`, use `class C extends Cloneable`", "2.10.0")
+class cloneable extends scala.annotation.StaticAnnotation
+++ b/src/library/scala/annotation/migration.scala
+ @deprecated("Use the constructor taking two Strings instead.", "2.10.0")
+ def this(majorVersion: Int, minorVersion: Int, message: String) = this(message, majorVersion + "." + minorVersion)
+++ b/src/library/scala/annotation/target/package.scala
+ @deprecated("Use `@scala.annotation.meta.beanGetter` instead", "2.10.0")
+ type beanGetter = scala.annotation.meta.beanGetter
+ @deprecated("Use `@scala.annotation.meta.beanSetter` instead", "2.10.0")
+ type beanSetter = scala.annotation.meta.beanSetter
+ @deprecated("Use `@scala.annotation.meta.field` instead", "2.10.0")
+ type field = scala.annotation.meta.field
+ @deprecated("Use `@scala.annotation.meta.getter` instead", "2.10.0")
+ type getter = scala.annotation.meta.getter
+ @deprecated("Use `@scala.annotation.meta.param` instead", "2.10.0")
+ type param = scala.annotation.meta.param
+ @deprecated("Use `@scala.annotation.meta.setter` instead", "2.10.0")
+ type setter = scala.annotation.meta.setter
+++ b/src/library/scala/collection/GenTraversableOnce.scala
+ @deprecated("use fold instead", "2.10.0")
def /:\[A1 >: A](z: A1)(op: (A1, A1) => A1): A1 = fold(z)(op)
+++ b/src/library/scala/collection/JavaConversions.scala
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type ConcurrentMapWrapper[A, B] = Wrappers.ConcurrentMapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type DictionaryWrapper[A, B] = Wrappers.DictionaryWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type IterableWrapper[A] = Wrappers.IterableWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type IteratorWrapper[A] = Wrappers.IteratorWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JCollectionWrapper[A] = Wrappers.JCollectionWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JConcurrentMapWrapper[A, B] = Wrappers.JConcurrentMapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JDictionaryWrapper[A, B] = Wrappers.JDictionaryWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JEnumerationWrapper[A] = Wrappers.JEnumerationWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JIterableWrapper[A] = Wrappers.JIterableWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JIteratorWrapper[A] = Wrappers.JIteratorWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JListWrapper[A] = Wrappers.JListWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JMapWrapper[A, B] = Wrappers.JMapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JPropertiesWrapper = Wrappers.JPropertiesWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type JSetWrapper[A] = Wrappers.JSetWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MapWrapper[A, B] = Wrappers.MapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MutableBufferWrapper[A] = Wrappers.MutableBufferWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MutableMapWrapper[A, B] = Wrappers.MutableMapWrapper[A, B]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MutableSeqWrapper[A] = Wrappers.MutableSeqWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type MutableSetWrapper[A] = Wrappers.MutableSetWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type SeqWrapper[A] = Wrappers.SeqWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type SetWrapper[A] = Wrappers.SetWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") type ToIteratorWrapper[A] = Wrappers.ToIteratorWrapper[A]
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val DictionaryWrapper = Wrappers.DictionaryWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val IterableWrapper = Wrappers.IterableWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val IteratorWrapper = Wrappers.IteratorWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JCollectionWrapper = Wrappers.JCollectionWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JConcurrentMapWrapper = Wrappers.JConcurrentMapWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JDictionaryWrapper = Wrappers.JDictionaryWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JEnumerationWrapper = Wrappers.JEnumerationWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JIterableWrapper = Wrappers.JIterableWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JIteratorWrapper = Wrappers.JIteratorWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JListWrapper = Wrappers.JListWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JMapWrapper = Wrappers.JMapWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JPropertiesWrapper = Wrappers.JPropertiesWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val JSetWrapper = Wrappers.JSetWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val MutableBufferWrapper = Wrappers.MutableBufferWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val MutableMapWrapper = Wrappers.MutableMapWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val MutableSeqWrapper = Wrappers.MutableSeqWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val MutableSetWrapper = Wrappers.MutableSetWrapper
+ @deprecated("Use a member of scala.collection.convert.Wrappers", "2.10.0") val SeqWrapper = Wrappers.SeqWrapper
+
+++ b/src/library/scala/collection/JavaConverters.scala
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsJava[A] = Decorators.AsJava[A]
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsScala[A] = Decorators.AsScala[A]
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsJavaCollection[A] = Decorators.AsJavaCollection[A]
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsJavaEnumeration[A] = Decorators.AsJavaEnumeration[A]
+ @deprecated("Don't access these decorators directly.", "2.10.0")
+ type AsJavaDictionary[A, B] = Decorators.AsJavaDictionary[A, B]
+++ b/src/library/scala/collection/TraversableOnce.scala
+ @deprecated("use OnceCanBuildFrom instead", "2.10.0")
+ def traversableOnceCanBuildFrom[T] = new OnceCanBuildFrom[T]
+ @deprecated("use MonadOps instead", "2.10.0")
+ def wrapTraversableOnce[A](trav: TraversableOnce[A]) = new MonadOps(trav)
+++ b/src/library/scala/collection/convert/DecorateAsJava.scala
+ @deprecated("Use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ implicit def asJavaConcurrentMapConverter[A, B](m: mutable.ConcurrentMap[A, B]): AsJava[juc.ConcurrentMap[A, B]] =
+++ b/src/library/scala/collection/convert/DecorateAsScala.scala
+ @deprecated("Use `mapAsScalaConcurrentMapConverter` instead, and use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ def asScalaConcurrentMapConverter[A, B](m: juc.ConcurrentMap[A, B]): AsScala[mutable.ConcurrentMap[A, B]] =
+++ b/src/library/scala/collection/convert/WrapAsJava.scala
+ @deprecated("Use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ implicit def asJavaConcurrentMap[A, B](m: mutable.ConcurrentMap[A, B]): juc.ConcurrentMap[A, B] = m match {
+++ b/src/library/scala/collection/convert/WrapAsScala.scala
+ @deprecated("Use `mapAsScalaConcurrentMap` instead, and use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ implicit def mapAsScalaDeprecatedConcurrentMap[A, B](m: juc.ConcurrentMap[A, B]): mutable.ConcurrentMap[A, B] =
+ @deprecated("Use `mapAsScalaConcurrentMap` instead, and use `concurrent.Map` instead of `ConcurrentMap`.", "2.10.0")
+ def asScalaConcurrentMap[A, B](m: juc.ConcurrentMap[A, B]): mutable.ConcurrentMap[A, B] = m match {
+++ b/src/library/scala/collection/generic/GenericClassTagTraversableTemplate.scala
+ @deprecated("use classTagCompanion instead", "2.10.0")
+ def classManifestCompanion: GenericClassManifestCompanion[CC] = classTagCompanion
+ @deprecated("use genericClassTagBuilder instead", "2.10.0")
+ def genericClassManifestBuilder[B](implicit manifest: ClassManifest[B]): Builder[B, CC[B]] = genericClassTagBuilder[B](manifest)
+++ b/src/library/scala/collection/generic/package.scala
+ @deprecated("use ClassTagTraversableFactory instead", "2.10.0")
+ type ClassManifestTraversableFactory[CC[X] <: Traversable[X] with GenericClassManifestTraversableTemplate[X, CC]] = ClassTagTraversableFactory[CC]
+ @deprecated("use GenericClassTagCompanion instead", "2.10.0")
+ type GenericClassManifestCompanion[+CC[X] <: Traversable[X]] = GenericClassTagCompanion[CC]
+ @deprecated("use GenericClassTagTraversableTemplate instead", "2.10.0")
+ type GenericClassManifestTraversableTemplate[+A, +CC[X] <: Traversable[X]] = GenericClassTagTraversableTemplate[A, CC]
+++ b/src/library/scala/collection/immutable/BitSet.scala
+ @deprecated("Use BitSet.fromBitMask[NoCopy] instead of fromArray", "2.10.0")
+ def fromArray(elems: Array[Long]): BitSet = fromBitMaskNoCopy(elems)
+ @deprecated("Use fromBitMask[NoCopy] instead of fromArray", "2.10.0")
+ def fromArray(elems: Array[Long]): BitSet = fromBitMaskNoCopy(elems)
+++ b/src/library/scala/collection/immutable/HashMap.scala
+ @deprecated("Use the `merged` method instead.", "2.10.0")
+ def merge[B1 >: B](that: HashMap[A, B1], mergef: MergeFunction[A, B1] = null): HashMap[A, B1] = merge0(that, 0, liftMerger(mergef))
+++ b/src/library/scala/collection/immutable/RedBlack.scala
+@deprecated("use `TreeMap` or `TreeSet` instead", "2.10.0")
@SerialVersionUID(8691885935445612921L)
+++ b/src/library/scala/collection/immutable/TreeMap.scala
+ @deprecated("use `ordering.lt` instead", "2.10.0")
def isSmaller(x: A, y: A) = ordering.lt(x, y)
+++ b/src/library/scala/collection/immutable/TreeSet.scala
+ @deprecated("use `ordering.lt` instead", "2.10.0")
+ def isSmaller(x: A, y: A) = compare(x,y) < 0
+++ b/src/library/scala/collection/immutable/package.scala
+ @deprecated("this class will be removed", "2.10.0")
trait RangeUtils[+Repr <: RangeUtils[Repr]] {
+++ b/src/library/scala/collection/mutable/ConcurrentMap.scala
+@deprecated("Use `scala.collection.concurrent.Map` instead.", "2.10.0")
trait ConcurrentMap[A, B] extends Map[A, B] {
+++ b/src/library/scala/collection/mutable/WrappedArray.scala
+ @deprecated("use elemTag instead", "2.10.0")
+ def elemManifest: ClassManifest[T] = ClassManifest.fromClass[T](arrayElementClass(elemTag).asInstanceOf[Class[T]])
+++ b/src/library/scala/collection/mutable/WrappedArrayBuilder.scala
+ @deprecated("use tag instead", "2.10.0")
+ val manifest: ClassTag[A] = tag
+++ b/src/library/scala/collection/parallel/Tasks.scala
+@deprecated("This implementation is not used.", "2.10.0")
trait FutureThreadPoolTasks extends Tasks {
+++ b/src/library/scala/concurrent/FutureTaskRunner.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
trait FutureTaskRunner extends TaskRunner {
+ @deprecated("Use `blocking` instead.", "2.10.0")
def managedBlock(blocker: ManagedBlocker): Unit
+++ b/src/library/scala/concurrent/JavaConversions.scala
+ @deprecated("Use `asExecutionContext` instead.", "2.10.0")
implicit def asTaskRunner(exec: ExecutorService): FutureTaskRunner =
+ @deprecated("Use `asExecutionContext` instead.", "2.10.0")
implicit def asTaskRunner(exec: Executor): TaskRunner =
+++ b/src/library/scala/concurrent/ManagedBlocker.scala
+@deprecated("Use `blocking` instead.", "2.10.0")
trait ManagedBlocker {
+++ b/src/library/scala/concurrent/SyncVar.scala
+ @deprecated("Use `put` instead, as `set` is potentionally error-prone", "2.10.0")
+ def set(x: A): Unit = setVal(x)
+ @deprecated("Use `take` instead, as `unset` is potentionally error-prone", "2.10.0")
def unset(): Unit = synchronized {
+++ b/src/library/scala/concurrent/TaskRunner.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
trait TaskRunner {
+++ b/src/library/scala/concurrent/TaskRunners.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
object TaskRunners {
+++ b/src/library/scala/concurrent/ThreadPoolRunner.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
trait ThreadPoolRunner extends FutureTaskRunner {
+ @deprecated("Use `blocking` instead.", "2.10.0")
def managedBlock(blocker: ManagedBlocker) {
+++ b/src/library/scala/concurrent/ThreadRunner.scala
+@deprecated("Use `ExecutionContext` instead.", "2.10.0")
class ThreadRunner extends FutureTaskRunner {
+ @deprecated("Use `blocking` instead.", "2.10.0")
def managedBlock(blocker: ManagedBlocker) {
+++ b/src/library/scala/io/BytePickle.scala
+@deprecated("This class will be removed.", "2.10.0")
object BytePickle {
+++ b/src/library/scala/io/Position.scala
+@deprecated("This class will be removed.", "2.10.0")
abstract class Position {
+++ b/src/library/scala/io/UTF8Codec.scala
+@deprecated("This class will be removed.", "2.10.0")
+object UTF8Codec {
+++ b/src/library/scala/math/BigDecimal.scala
+@deprecatedInheritance("This class will me made final.", "2.10.0")
class BigDecimal(
+++ b/src/library/scala/math/BigInt.scala
+@deprecatedInheritance("This class will me made final.", "2.10.0")
+class BigInt(val bigInteger: BigInteger) extends ScalaNumber with ScalaNumericConversions with Serializable {
+ @deprecated("Use ~bigInt (the unary_~ method) instead", "2.10.0")
+ def ~ : BigInt = ~this
+++ b/src/library/scala/package.scala
+ @deprecated("instead of `@cloneable class C`, use `class C extends Cloneable`", "2.10.0")
+ type cloneable = annotation.cloneable
+++ b/src/library/scala/parallel/Future.scala
+@deprecated("Use `scala.concurrent.Future` instead.", "2.10.0")
trait Future[@specialized +R] extends (() => R) {
+++ b/src/library/scala/reflect/ClassManifestDeprecatedApis.scala
+@deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
+trait ClassManifestDeprecatedApis[T] extends OptManifest[T] {
+ @deprecated("Use runtimeClass instead", "2.10.0")
+ def erasure: jClass[_] = runtimeClass
+ @deprecated("Use scala.reflect.runtime.universe.TypeTag for subtype checking instead", "2.10.0")
+ def <:<(that: ClassManifest[_]): Boolean = {
+ @deprecated("Use scala.reflect.runtime.universe.TypeTag for subtype checking instead", "2.10.0")
+ def >:>(that: ClassManifest[_]): Boolean =
+ @deprecated("Use wrap instead", "2.10.0")
+ def arrayManifest: ClassManifest[Array[T]] =
+ @deprecated("Use wrap.newArray instead", "2.10.0")
+ def newArray2(len: Int): Array[Array[T]] =
+ @deprecated("Use wrap.wrap.newArray instead", "2.10.0")
+ def newArray3(len: Int): Array[Array[Array[T]]] =
+ @deprecated("Use wrap.wrap.wrap.newArray instead", "2.10.0")
+ def newArray4(len: Int): Array[Array[Array[Array[T]]]] =
+ @deprecated("Use wrap.wrap.wrap.wrap.newArray instead", "2.10.0")
+ def newArray5(len: Int): Array[Array[Array[Array[Array[T]]]]] =
+ @deprecated("Create WrappedArray directly instead", "2.10.0")
+ def newWrappedArray(len: Int): WrappedArray[T] =
+ @deprecated("Use ArrayBuilder.make(this) instead", "2.10.0")
+ def newArrayBuilder(): ArrayBuilder[T] =
+ @deprecated("Use scala.reflect.runtime.universe.TypeTag to capture type structure instead", "2.10.0")
+ def typeArguments: List[OptManifest[_]] = List()
+++ b/src/library/scala/reflect/Manifest.scala
+// @deprecated("Use scala.reflect.ClassTag (to capture erasures) or scala.reflect.runtime.universe.TypeTag (to capture types) or both instead", "2.10.0")
trait Manifest[T] extends ClassManifest[T] with Equals {
+// @deprecated("Use type tags and manually check the corresponding class or type instead", "2.10.0")
+abstract class AnyValManifest[T <: AnyVal](override val toString: String) extends Manifest[T] with Equals {
+++ b/src/library/scala/reflect/NoManifest.scala
+// @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
object NoManifest extends OptManifest[Nothing] with Serializable {
+++ b/src/library/scala/reflect/OptManifest.scala
+// @deprecated("This notion doesn't have a corresponding concept in 2.10, because scala.reflect.runtime.universe.TypeTag can capture arbitrary types. Use type tags instead of manifests, and there will be no need in opt manifests.", "2.10.0")
+trait OptManifest[+T] extends Serializable
+++ b/src/library/scala/reflect/package.scala
+ @deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
+ @annotation.implicitNotFound(msg = "No ClassManifest available for ${T}.")
+ @deprecated("Use scala.reflect.ClassTag instead", "2.10.0")
+ val ClassManifest = ClassManifestFactory
+ // @deprecated("Use scala.reflect.ClassTag (to capture erasures), scala.reflect.runtime.universe.TypeTag (to capture types) or both instead", "2.10.0")
+ val Manifest = ManifestFactory
+ @deprecated("Use `@scala.beans.BeanDescription` instead", "2.10.0")
+ type BeanDescription = scala.beans.BeanDescription
+ @deprecated("Use `@scala.beans.BeanDisplayName` instead", "2.10.0")
+ type BeanDisplayName = scala.beans.BeanDisplayName
+ @deprecated("Use `@scala.beans.BeanInfo` instead", "2.10.0")
+ type BeanInfo = scala.beans.BeanInfo
+ @deprecated("Use `@scala.beans.BeanInfoSkip` instead", "2.10.0")
+ type BeanInfoSkip = scala.beans.BeanInfoSkip
+ @deprecated("Use `@scala.beans.BeanProperty` instead", "2.10.0")
+ type BeanProperty = scala.beans.BeanProperty
+ @deprecated("Use `@scala.beans.BooleanBeanProperty` instead", "2.10.0")
+ type BooleanBeanProperty = scala.beans.BooleanBeanProperty
+ @deprecated("Use `@scala.beans.ScalaBeanInfo` instead", "2.10.0")
+ type ScalaBeanInfo = scala.beans.ScalaBeanInfo
+++ b/src/library/scala/runtime/WorksheetSupport.scala
+@deprecated("SI-6458: Instrumentation logic will be moved out of the compiler.","2.10.0")
+object WorksheetSupport {
+++ b/src/library/scala/testing/Benchmark.scala
+@deprecated("This class will be removed.", "2.10.0")
trait Benchmark {
+++ b/src/library/scala/testing/Show.scala
+@deprecated("This class will be removed.", "2.10.0")
trait Show {
+ @deprecated("use SymApply instead", "2.10.0")
+ def symApply(sym: Symbol): SymApply = new SymApply(sym)
+++ b/src/library/scala/util/Either.scala
+ @deprecated("use MergeableEither instead", "2.10.0")
+ def either2mergeable[A](x: Either[A, A]): MergeableEither[A] = new MergeableEither(x)
+++ b/src/library/scala/util/Marshal.scala
+@deprecated("This class will be removed", "2.10.0")
object Marshal {
+++ b/src/library/scala/util/MurmurHash.scala
+@deprecated("Use the object MurmurHash3 instead.", "2.10.0")
class MurmurHash[@specialized(Int,Long,Float,Double) T](seed: Int) extends (T => Unit) {
+@deprecated("Use the object MurmurHash3 instead.", "2.10.0")
object MurmurHash {
+++ b/src/library/scala/util/automata/BaseBerrySethi.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class BaseBerrySethi {
+++ b/src/library/scala/util/automata/DetWordAutom.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class DetWordAutom[T <: AnyRef] {
+++ b/src/library/scala/util/automata/Inclusion.scala
+@deprecated("This class will be removed", "2.10.0")
trait Inclusion[A <: AnyRef] {
+++ b/src/library/scala/util/automata/NondetWordAutom.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class NondetWordAutom[T <: AnyRef] {
+++ b/src/library/scala/util/automata/SubsetConstruction.scala
+@deprecated("This class will be removed", "2.10.0")
class SubsetConstruction[T <: AnyRef](val nfa: NondetWordAutom[T]) {
+++ b/src/library/scala/util/automata/WordBerrySethi.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class WordBerrySethi extends BaseBerrySethi {
+++ b/src/library/scala/util/grammar/HedgeRHS.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class HedgeRHS
+@deprecated("This class will be removed", "2.10.0")
case class ConsRHS(tnt: Int, hnt: Int) extends HedgeRHS
+@deprecated("This class will be removed", "2.10.0")
case object AnyHedgeRHS extends HedgeRHS
+@deprecated("This class will be removed", "2.10.0")
case object EmptyHedgeRHS extends HedgeRHS
+++ b/src/library/scala/util/grammar/TreeRHS.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class TreeRHS
+@deprecated("This class will be removed", "2.10.0")
case class LabelledRHS[A](label: A, hnt: Int) extends TreeRHS
+@deprecated("This class will be removed", "2.10.0")
case object AnyTreeRHS extends TreeRHS
+++ b/src/library/scala/util/hashing/MurmurHash3.scala
+ @deprecated("Use unorderedHash", "2.10.0")
+ final def symmetricHash[T](xs: scala.collection.GenTraversableOnce[T], seed: Int = symmetricSeed): Int =
+ @deprecated("Use orderedHash", "2.10.0")
+ final def traversableHash[T](xs: scala.collection.GenTraversableOnce[T], seed: Int = traversableSeed): Int =
+++ b/src/library/scala/util/logging/ConsoleLogger.scala
+@deprecated("This class will be removed.", "2.10.0")
trait ConsoleLogger extends Logged {
+++ b/src/library/scala/util/logging/Logged.scala
+@deprecated("This class will be removed.", "2.10.0")
trait Logged {
+++ b/src/library/scala/util/parsing/ast/AbstractSyntax.scala
+@deprecated("This class will be removed", "2.10.0")
trait AbstractSyntax {
+++ b/src/library/scala/util/parsing/ast/Binders.scala
+@deprecated("This class will be removed", "2.10.0")
trait Mappable {
+++ b/src/library/scala/util/parsing/combinator/Parsers.scala
+ @deprecated("lastNoSuccess was not thread-safe and will be removed in 2.11.0", "2.10.0")
+ def lastNoSuccess: NoSuccess = lastNoSuccessVar.value.orNull
+ @deprecated("lastNoSuccess was not thread-safe and will be removed in 2.11.0", "2.10.0")
+ def lastNoSuccess_=(x: NoSuccess): Unit = lastNoSuccessVar.value = Option(x)
+++ b/src/library/scala/util/parsing/combinator/testing/RegexTest.scala
+@deprecated("This class will be removed", "2.10.0")
case class Ident(s: String)
+@deprecated("This class will be removed", "2.10.0")
case class Number(n: Int)
+@deprecated("This class will be removed", "2.10.0")
case class Str(s: String)
+@deprecated("This class will be removed", "2.10.0")
object RegexTest extends RegexParsers {
+++ b/src/library/scala/util/parsing/combinator/testing/Tester.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class Tester {
+++ b/src/library/scala/util/regexp/Base.scala
+@deprecated("This class will be removed", "2.10.0")
+abstract class Base {
+++ b/src/library/scala/util/regexp/PointedHedgeExp.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class PointedHedgeExp extends Base {
+++ b/src/library/scala/util/regexp/SyntaxError.scala
+@deprecated("This class will be removed", "2.10.0")
class SyntaxError(e: String) extends RuntimeException(e)
+++ b/src/library/scala/util/regexp/WordExp.scala
+@deprecated("This class will be removed", "2.10.0")
abstract class WordExp extends Base {
+++ b/src/library/scala/xml/Elem.scala
+ @deprecated("Use the other apply method in this object", "2.10.0")
+ def apply(prefix: String, label: String, attributes: MetaData, scope: NamespaceBinding, child: Node*): Elem =
+ @deprecated("This constructor is retained for backward compatibility. Please use the primary constructor, which lets you specify your own preference for `minimizeEmpty`.", "2.10.0")
+ def this(prefix: String, label: String, attributes: MetaData, scope: NamespaceBinding, child: Node*) = {
+++ b/src/library/scala/xml/Utility.scala
+ @deprecated("Please use `serialize` instead and specify a `minimizeTags` parameter", "2.10.0")
def toXML(
+++ b/src/library/scala/xml/include/sax/Main.scala
+@deprecated("Code example will be moved to documentation.", "2.10.0")
object Main {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment