Skip to content

Commit

Permalink
Make the direct and the reverse maps in AbstractMap private
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRocks committed Apr 3, 2016
1 parent 3bcdd5e commit 9197c32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/io/michaelrocks/bimap/BiMap.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ interface MutableBiMap<K : Any, V : Any> : BiMap<K, V>, MutableMap<K, V> {
}

abstract class AbstractBiMap<K : Any, V : Any> protected constructor(
internal val direct: MutableMap<K, V>,
internal val reverse: MutableMap<V, K>
private val direct: MutableMap<K, V>,
private val reverse: MutableMap<V, K>
) : MutableBiMap<K, V> {
override val size: Int
get() = direct.size
Expand Down

0 comments on commit 9197c32

Please sign in to comment.