summaryrefslogtreecommitdiff
path: root/src/library/scala/concurrent/impl
diff options
context:
space:
mode:
authorphaller <hallerp@gmail.com>2012-05-03 06:28:40 +0200
committerphaller <hallerp@gmail.com>2012-05-03 06:28:40 +0200
commit3694082bdeefb090d8d2efdefc3c6e51a0f1ed85 (patch)
tree9d8e73ec60388595958e968169c451a181ba8d2f /src/library/scala/concurrent/impl
parent069966ab385be1c7f68f987f4c078597406d8905 (diff)
downloadscala-3694082bdeefb090d8d2efdefc3c6e51a0f1ed85.tar.gz
scala-3694082bdeefb090d8d2efdefc3c6e51a0f1ed85.tar.bz2
scala-3694082bdeefb090d8d2efdefc3c6e51a0f1ed85.zip
Remove newPromise method
Diffstat (limited to 'src/library/scala/concurrent/impl')
-rw-r--r--src/library/scala/concurrent/impl/Promise.scala2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/library/scala/concurrent/impl/Promise.scala b/src/library/scala/concurrent/impl/Promise.scala
index d91e9d707a..da70b3dea5 100644
--- a/src/library/scala/concurrent/impl/Promise.scala
+++ b/src/library/scala/concurrent/impl/Promise.scala
@@ -128,8 +128,6 @@ object Promise {
override def isCompleted(): Boolean = true
- def newPromise[S]: scala.concurrent.Promise[S] = new Promise.DefaultPromise()
-
def tryComplete(value: Either[Throwable, T]): Boolean = false
def onComplete[U](func: Either[Throwable, T] => U): this.type = {