File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/org/truffleruby/core/module Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ spec/ruby/core/sizedqueue/pop_spec.rb
31
31
spec/ruby/core/sizedqueue/shift_spec.rb
32
32
33
33
spec/ruby/core/module/refinements_spec.rb
34
+ spec/ruby/core/module/undefined_instance_methods_spec.rb
34
35
spec/ruby/core/refinement/refined_class_spec.rb
35
36
spec/ruby/core/module/used_refinements_spec.rb
36
37
spec/ruby/optional/capi/hash_spec.rb
37
- spec/ruby/core/module/undefined_instance_methods_spec.rb
Original file line number Diff line number Diff line change @@ -2365,7 +2365,7 @@ protected RubyArray undefinedInstanceMethods(RubyModule module) {
2365
2365
List <RubySymbol > methodNames = new ArrayList <>();
2366
2366
2367
2367
for (InternalMethod methodEntry : module .fields .getMethods ()) {
2368
- if (methodEntry != null && methodEntry .isUndefined ()) {
2368
+ if (methodEntry .isUndefined ()) {
2369
2369
methodNames .add (getLanguage ().getSymbol (methodEntry .getName ()));
2370
2370
}
2371
2371
}
You can’t perform that action at this time.
0 commit comments