summaryrefslogtreecommitdiff
path: root/src/library/scala/NotNull.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-03-13 16:09:32 -0700
committerPaul Phillips <paulp@improving.org>2013-03-13 16:09:32 -0700
commit3fe7b8c0a8c86b38d010f37887092ce665f08df2 (patch)
tree38c90a7ffc3ded7dd13900a25bedc9b363855c30 /src/library/scala/NotNull.scala
parenta4c338888f4364dfd44989acd12cb72daf639081 (diff)
downloadscala-3fe7b8c0a8c86b38d010f37887092ce665f08df2.tar.gz
scala-3fe7b8c0a8c86b38d010f37887092ce665f08df2.tar.bz2
scala-3fe7b8c0a8c86b38d010f37887092ce665f08df2.zip
SI-7247, deprecated NotNull.
Removed NotNull from tests and the parentage of AnyVal. Removed the tests which were actually testing anything to do with NotNull; massaged the others to forget NotNull and/or not to name local things NotNull.
Diffstat (limited to 'src/library/scala/NotNull.scala')
-rw-r--r--src/library/scala/NotNull.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/scala/NotNull.scala b/src/library/scala/NotNull.scala
index f87416b49d..3cbe9ed4ac 100644
--- a/src/library/scala/NotNull.scala
+++ b/src/library/scala/NotNull.scala
@@ -12,4 +12,6 @@ package scala
* A marker trait for things that are not allowed to be null
* @since 2.5
*/
+
+@deprecated("This trait will be removed", "2.11.0")
trait NotNull extends Any {}