Skip to content

Commit

Permalink
Make class Memoized internal
Browse files Browse the repository at this point in the history
  • Loading branch information
mantono committed May 3, 2023
1 parent b32591e commit 76349f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/main/kotlin/io/nexure/capsule/Memoized.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package io.nexure.capsule

import java.util.concurrent.Semaphore

class Memoized<T> {
internal class Memoized<T> {
private val semaphore = Semaphore(1)
private var value: T? = null

Expand Down

0 comments on commit 76349f8

Please sign in to comment.