diff options
author | Jacek Laskowski <jacek@japila.pl> | 2016-05-31 17:32:37 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-05-31 17:32:37 -0700 |
commit | 0f24713468088fa7617d208572179d558e1f286b (patch) | |
tree | 963d66b261dd3feb9168004f09c3c30083ca8816 /core | |
parent | 8ca01a6feb4935b1a3815cfbff1b90ccc6f60984 (diff) | |
download | spark-0f24713468088fa7617d208572179d558e1f286b.tar.gz spark-0f24713468088fa7617d208572179d558e1f286b.tar.bz2 spark-0f24713468088fa7617d208572179d558e1f286b.zip |
[CORE][DOC][MINOR] typos + links
## What changes were proposed in this pull request?
A very tiny change to javadoc (which I don't mind if gets merged with a bigger change). I've just found it annoying and couldn't resist proposing a pull request. Sorry srowen and rxin.
## How was this patch tested?
Manual build
Author: Jacek Laskowski <jacek@japila.pl>
Closes #13383 from jaceklaskowski/memory-consumer.
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/org/apache/spark/memory/MemoryConsumer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/java/org/apache/spark/memory/MemoryConsumer.java b/core/src/main/java/org/apache/spark/memory/MemoryConsumer.java index 38a21a896e..fc1f3a8023 100644 --- a/core/src/main/java/org/apache/spark/memory/MemoryConsumer.java +++ b/core/src/main/java/org/apache/spark/memory/MemoryConsumer.java @@ -23,7 +23,7 @@ import org.apache.spark.unsafe.array.LongArray; import org.apache.spark.unsafe.memory.MemoryBlock; /** - * An memory consumer of TaskMemoryManager, which support spilling. + * A memory consumer of {@link TaskMemoryManager} that supports spilling. * * Note: this only supports allocation / spilling of Tungsten memory. */ @@ -45,7 +45,7 @@ public abstract class MemoryConsumer { } /** - * Returns the memory mode, ON_HEAP or OFF_HEAP. + * Returns the memory mode, {@link MemoryMode#ON_HEAP} or {@link MemoryMode#OFF_HEAP}. */ public MemoryMode getMode() { return mode; |