Skip to content

Commit 05fcc73

Browse files
committed
drop a deprecated method from booter
1 parent 11d7543 commit 05fcc73

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/ruby/jruby/rack/booter.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ def gem_path=(path); layout.gem_path = path end
8585
def public_path; layout.public_path end
8686
def public_path=(path); layout.public_path = path end
8787

88-
# @deprecated use {JRuby::Rack#logger} instead
89-
# @return [Logger]
90-
def logger; JRuby::Rack.logger; end
91-
9288
# Boot-up this booter, preparing the environment for the application.
9389
def boot!
9490
adjust_gem_path
@@ -183,7 +179,7 @@ def load_settings_from_init_rb
183179
stream = url.openStream
184180
stream.to_io.read
185181
rescue Exception => e
186-
logger.info "failed to read from '#{url.toString}' (#{e.message})"
182+
JRuby::Rack.logger.info "failed to read from '#{url.toString}' (#{e.message})"
187183
next
188184
ensure
189185
stream.close rescue nil

0 commit comments

Comments
 (0)