aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorTathagata Das <tathagata.das1565@gmail.com>2014-01-10 12:17:09 -0800
committerTathagata Das <tathagata.das1565@gmail.com>2014-01-10 12:17:09 -0800
commite4bb845238d0df48f8258e925caf9af5a107af46 (patch)
tree3a11ad9abe691584cc64be3ca31403305f831686 /core/src/main
parent2213a5a47fb2d73e3fdebec24356c69ea2968b81 (diff)
downloadspark-e4bb845238d0df48f8258e925caf9af5a107af46.tar.gz
spark-e4bb845238d0df48f8258e925caf9af5a107af46.tar.bz2
spark-e4bb845238d0df48f8258e925caf9af5a107af46.zip
Updated docs based on Patrick's comments in PR 383.
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/scala/org/apache/spark/util/TimeStampedHashMap.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/scala/org/apache/spark/util/TimeStampedHashMap.scala b/core/src/main/scala/org/apache/spark/util/TimeStampedHashMap.scala
index dde504fc52..8e07a0f29a 100644
--- a/core/src/main/scala/org/apache/spark/util/TimeStampedHashMap.scala
+++ b/core/src/main/scala/org/apache/spark/util/TimeStampedHashMap.scala
@@ -27,8 +27,8 @@ import org.apache.spark.Logging
/**
* This is a custom implementation of scala.collection.mutable.Map which stores the insertion
* timestamp along with each key-value pair. If specified, the timestamp of each pair can be
- * updated every it is accessed. Key-value pairs whose timestamp are older than a particular
- * threshold time can them be removed using the clearOldValues method. This is intended to
+ * updated every time it is accessed. Key-value pairs whose timestamp are older than a particular
+ * threshold time can then be removed using the clearOldValues method. This is intended to
* be a drop-in replacement of scala.collection.mutable.HashMap.
* @param updateTimeStampOnGet When enabled, the timestamp of a pair will be
* updated when it is accessed