Repository: spark
Updated Branches:
  refs/heads/master 57adb77e6 -> 695470429


[CORE][MINOR][DOC] Removing incorrect scaladoc

## What changes were proposed in this pull request?

I don't think the method will ever throw an exception so removing a false 
comment. Sorry srowen and rxin again -- I simply couldn't resist.

I wholeheartedly support merging the change with a bigger one (and trashing 
this PR).

## How was this patch tested?

Manual build

Author: Jacek Laskowski <[email protected]>

Closes #13384 from jaceklaskowski/blockinfomanager.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/69547042
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/69547042
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/69547042

Branch: refs/heads/master
Commit: 6954704299386cdcfdbc3f7fa6967c0880c9b7b8
Parents: 57adb77
Author: Jacek Laskowski <[email protected]>
Authored: Tue May 31 19:21:25 2016 -0500
Committer: Sean Owen <[email protected]>
Committed: Tue May 31 19:21:25 2016 -0500

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/storage/BlockInfoManager.scala    | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/69547042/core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala
----------------------------------------------------------------------
diff --git 
a/core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala 
b/core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala
index 20ffe13..dd8f5ba 100644
--- a/core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala
+++ b/core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala
@@ -211,9 +211,6 @@ private[storage] class BlockInfoManager extends Logging {
    * If another task has already locked this block for either reading or 
writing, then this call
    * will block until the other locks are released or will return immediately 
if `blocking = false`.
    *
-   * If this is called by a task which already holds the block's exclusive 
write lock, then this
-   * method will throw an exception.
-   *
    * @param blockId the block to lock.
    * @param blocking if true (default), this call will block until the lock is 
acquired. If false,
    *                 this call will return immediately if the lock acquisition 
fails.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to