Repository: spark Updated Branches: refs/heads/branch-2.0 f0e8738c1 -> 00fca2a05
[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 <[email protected]> Closes #13383 from jaceklaskowski/memory-consumer. (cherry picked from commit 0f24713468088fa7617d208572179d558e1f286b) Signed-off-by: Andrew Or <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/00fca2a0 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/00fca2a0 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/00fca2a0 Branch: refs/heads/branch-2.0 Commit: 00fca2a058d9803fe2b07d7c5827d51e821e523e Parents: f0e8738 Author: Jacek Laskowski <[email protected]> Authored: Tue May 31 17:32:37 2016 -0700 Committer: Andrew Or <[email protected]> Committed: Tue May 31 17:32:47 2016 -0700 ---------------------------------------------------------------------- core/src/main/java/org/apache/spark/memory/MemoryConsumer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/00fca2a0/core/src/main/java/org/apache/spark/memory/MemoryConsumer.java ---------------------------------------------------------------------- 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 38a21a8..fc1f3a8 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; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
