Skip to content

Commit 097ae9a

Browse files
committed
drop deprecated/unused silence_warnings methods
1 parent 9cc1e6c commit 097ae9a

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/main/ruby/jruby/rack.rb

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@
1010
module JRuby
1111
module Rack
1212

13-
# @deprecated use {JRuby::Rack::Helpers#silence_warnings} instead
14-
def self.silence_warnings(&block)
15-
Helpers.silence_warnings(&block)
16-
end
17-
18-
def self.booter; @booter; end # :nodoc TODO do we need to keep after boot! ?!
13+
def self.booter; @booter end # :nodoc TODO do we need to keep after boot! ?!
1914

2015
class << self
2116

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,6 @@ def expand_path(path); layout.expand_path(path) end
221221

222222
private
223223

224-
def silence_warnings(&block)
225-
Helpers.silence_warnings(&block)
226-
end
227-
228224
def path_to_file(url)
229225
url.toURI.toString
230226
rescue Java::JavaNet::URISyntaxException

0 commit comments

Comments
 (0)