Skip to content

Commit b50d44f

Browse files
committed
Style feedback from @kaikuchn
1 parent 5af643a commit b50d44f

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

Rakefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,7 @@ begin
7575
RSpec::Core::RakeTask.new(:spec)
7676

7777
desc "Run both minitest & rspec tests"
78-
task test: %w[minitest spec] do
79-
80-
end
78+
task test: %w[minitest spec]
8179

8280
namespace :spec do
8381
desc '* Configured for ci'

lib/concurrent/executor/cached_thread_pool.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'concurrent/utility/engine'
22
require 'concurrent/executor/thread_pool_executor'
3+
34
module Concurrent
45

56
# A thread pool that dynamically grows and shrinks to fit the current workload.

lib/concurrent/executor/java_daemon_thread_factory.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ def newThread(runnable)
1212
thread.setDaemon(@daemonize)
1313
return thread
1414
end
15-
1615
end
1716

1817
end

test/concurrent/executor/test_cached_thread_pool.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ def test_cached_thread_pool_does_not_impede_shutdown
99
pool.post do
1010
sleep
1111
end
12-
1312
end
1413
end

0 commit comments

Comments
 (0)