Skip to content

Commit

Permalink
fix typo in AtomicMethods.kt (#356)
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Moiseenko <[email protected]>
  • Loading branch information
eupp authored Aug 8, 2024
1 parent 81e73cf commit 0ee6850
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ private val varHandleMethods = mapOf(
"getVolatile" to AtomicMethodDescriptor(GET, VOLATILE),

// set
"set" to AtomicMethodDescriptor(GET, PLAIN),
"set" to AtomicMethodDescriptor(SET, PLAIN),
"setOpaque" to AtomicMethodDescriptor(SET, OPAQUE),
"setRelease" to AtomicMethodDescriptor(GET, RELEASE),
"setVolatile" to AtomicMethodDescriptor(GET, VOLATILE),
"setRelease" to AtomicMethodDescriptor(SET, RELEASE),
"setVolatile" to AtomicMethodDescriptor(SET, VOLATILE),

// getAndSet
"getAndSet" to AtomicMethodDescriptor(GET_AND_SET, VOLATILE),
Expand Down

0 comments on commit 0ee6850

Please sign in to comment.