Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused methods getIdTest + newIdTest
Browse files Browse the repository at this point in the history
UweKubosch committed Apr 29, 2017
1 parent 5668a18 commit 5d70732
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions core/src/main/java/org/jruby/RubyModule.java
Original file line number Diff line number Diff line change
@@ -300,18 +300,6 @@ public void addIncludingHierarchy(IncludedModule hierarchy) {
}
}

public MethodHandle getIdTest() {
MethodHandle idTest = this.idTest;
if (idTest != null) return idTest;
return this.idTest = newIdTest();
}

protected MethodHandle newIdTest() {
return Binder.from(boolean.class, ThreadContext.class, IRubyObject.class)
.insert(2,id)
.invoke(testModuleMatch);
}

/** separate path for MetaClass construction
*
*/

0 comments on commit 5d70732

Please sign in to comment.