Skip to content

Commit

Permalink
Nits
Browse files Browse the repository at this point in the history
  • Loading branch information
srawlins committed Mar 17, 2018
1 parent 849c67b commit 767a692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/collection/lru_map.dart
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class LinkedLruHashMap<K, V> implements LruMap<K, V> {
/// Get the value for a [key] in the [Map].
/// The [key] will be promoted to the 'Most Recently Used' position.
///
/// *NOTE*: Calling [] inside an iteration over keys/values is currently
/// *NOTE*: Calling `[]` inside an iteration over keys/values is currently
/// unsupported; use [keys] or [values] if you need information about entries
/// without modifying their position.
@override
Expand Down Expand Up @@ -289,7 +289,7 @@ class LinkedLruHashMap<K, V> implements LruMap<K, V> {
@override
V update(K key, V update(V value), {V ifAbsent()}) {
V newValue;
if (this.containsKey(key)) {
if (containsKey(key)) {
newValue = update(this[key]);
} else {
if (ifAbsent == null)
Expand Down

0 comments on commit 767a692

Please sign in to comment.