diff options
author | Jacek Laskowski <jacek@japila.pl> | 2016-05-31 19:21:25 -0500 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-05-31 19:21:25 -0500 |
commit | 6954704299386cdcfdbc3f7fa6967c0880c9b7b8 (patch) | |
tree | 4991a1340d6505f712ad70dc16cbe8d67106f63a /core/src | |
parent | 57adb77e6b0208dc6d29488a674b6ad78702262f (diff) | |
download | spark-6954704299386cdcfdbc3f7fa6967c0880c9b7b8.tar.gz spark-6954704299386cdcfdbc3f7fa6967c0880c9b7b8.tar.bz2 spark-6954704299386cdcfdbc3f7fa6967c0880c9b7b8.zip |
[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 <jacek@japila.pl>
Closes #13384 from jaceklaskowski/blockinfomanager.
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/org/apache/spark/storage/BlockInfoManager.scala | 3 |
1 files changed, 0 insertions, 3 deletions
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 20ffe1342e..dd8f5bacb9 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. |