Skip to content

Commit

Permalink
Dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Nov 27, 2024
1 parent 3cf9cf9 commit 665ba78
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions core/src/main/java/org/jruby/RubyClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -1009,15 +1009,6 @@ public IRubyObject initialize_copy(IRubyObject original) {
return this;
}

protected void setModuleSuperClass(RubyClass superClass) {
// remove us from old superclass's child classes
if (this.superClass != null) this.superClass.removeSubclass(this);
// add us to new superclass's child classes
superClass.addSubclass(this);
// update superclass reference
setSuperClass(superClass);
}

@JRubyMethod
public IRubyObject subclasses(ThreadContext context) {
int subclassEstimate = this.subclassEstimate;
Expand Down

0 comments on commit 665ba78

Please sign in to comment.