Skip to content

Commit

Permalink
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
import org.jruby.Ruby;
import org.jruby.internal.runtime.methods.DynamicMethod;
import org.jruby.runtime.ThreadContext;
import org.jruby.util.ByteList;

/**
* @author Andre Kullmann
@@ -20,7 +21,7 @@ public ProfileCollection newProfileCollection(ThreadContext context) {
public MethodEnhancer newMethodEnhancer(Ruby runtime) {
return new MethodEnhancer() {
@Override
public DynamicMethod enhance(String name, DynamicMethod delegate) {
public DynamicMethod enhance(ByteList name, DynamicMethod delegate) {
return delegate;
}
};
@@ -34,4 +35,9 @@ public ProfileReporter newProfileReporter(ThreadContext context) {
@Override
public void addProfiledMethod(String name, DynamicMethod method) {
}

@Override
public void addProfiledMethod(ByteList name, DynamicMethod method) {

}
}

0 comments on commit eaf9b95

Please sign in to comment.