Skip to content

Commit e1d24b4

Browse files
committed
Corrected misnamed private constant.
1 parent 29abdc1 commit e1d24b4

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

lib/concurrent/atomic/atomic_boolean.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,27 +118,27 @@ def ns_make_value(value)
118118
#
119119
# @see Concurrent::MutexAtomicBoolean
120120
class AtomicBoolean < AtomicBooleanImplementation
121-
121+
122122
# @!method initialize(initial = false)
123123
# @!macro atomic_boolean_method_initialize
124-
124+
125125
# @!method value
126126
# @!macro atomic_boolean_method_value_get
127-
127+
128128
# @!method value=(value)
129129
# @!macro atomic_boolean_method_value_set
130-
130+
131131
# @!method true?
132132
# @!macro atomic_boolean_method_true_question
133-
133+
134134
# @!method false?
135135
# @!macro atomic_boolean_method_false_question
136-
136+
137137
# @!method make_true
138138
# @!macro atomic_boolean_method_make_true
139-
139+
140140
# @!method make_false
141141
# @!macro atomic_boolean_method_make_false
142-
142+
143143
end
144144
end

lib/concurrent/atomic/atomic_fixnum.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def range_check!(value)
145145
#
146146
# @see Concurrent::MutexAtomicFixnum
147147
class AtomicFixnum < AtomicFixnumImplementation
148-
148+
149149
# @!method initialize(initial = 0)
150150
# @!macro atomic_fixnum_method_initialize
151151

lib/concurrent/atomic/thread_local_var.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def set(value)
171171
else
172172
RubyThreadLocalVar
173173
end
174-
private_constant :AtomicBooleanImplementation
174+
private_constant :ThreadLocalVarImplementation
175175

176176
# @!macro thread_local_var
177177
#

lib/concurrent/executor/fixed_thread_pool.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ module Concurrent
77
end
88

99
FixedThreadPoolImplementation = case
10-
when Concurrent.on_jruby?
11-
JavaFixedThreadPool
12-
else
13-
RubyFixedThreadPool
14-
end
10+
when Concurrent.on_jruby?
11+
JavaFixedThreadPool
12+
else
13+
RubyFixedThreadPool
14+
end
1515
private_constant :FixedThreadPoolImplementation
1616

1717
# @!macro [attach] fixed_thread_pool

lib/concurrent/executor/single_thread_executor.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ module Concurrent
77
end
88

99
SingleThreadExecutorImplementation = case
10-
when Concurrent.on_jruby?
11-
JavaSingleThreadExecutor
12-
else
13-
RubySingleThreadExecutor
14-
end
10+
when Concurrent.on_jruby?
11+
JavaSingleThreadExecutor
12+
else
13+
RubySingleThreadExecutor
14+
end
1515
private_constant :SingleThreadExecutorImplementation
1616

1717
# @!macro [attach] single_thread_executor

0 commit comments

Comments
 (0)