Skip to content

Commit

Permalink
Make the internal constructor of AbstractBiMap protected
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRocks committed Apr 3, 2016
1 parent bae4b65 commit 3bcdd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/io/michaelrocks/bimap/BiMap.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ interface MutableBiMap<K : Any, V : Any> : BiMap<K, V>, MutableMap<K, V> {
fun forcePut(key: K, value: V): V?
}

abstract class AbstractBiMap<K : Any, V : Any> internal constructor(
abstract class AbstractBiMap<K : Any, V : Any> protected constructor(
internal val direct: MutableMap<K, V>,
internal val reverse: MutableMap<V, K>
) : MutableBiMap<K, V> {
Expand Down

0 comments on commit 3bcdd5e

Please sign in to comment.