Skip to content

Commit 9d554f3

Browse files
committed
Circular references are no longer allowed
Probably intended to leave these as nil, but they don't handle nil
1 parent 3f058cc commit 9d554f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spec/ruby/jruby/rack/response_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,11 +526,11 @@ def with_swallow_client_abort(client_abort = true)
526526

527527
private
528528

529-
def update_response_headers(headers, response = response)
529+
def update_response_headers(headers, response)
530530
response.to_java.getHeaders.update(headers)
531531
end
532532

533-
def new_response_environment(servlet_response = servlet_response)
533+
def new_response_environment(servlet_response)
534534
org.jruby.rack.RackResponseEnvironment.impl do |name, *args|
535535
servlet_response.send(name, *args)
536536
end

0 commit comments

Comments
 (0)