Skip to content

Commit

Permalink
Clean up some imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Dec 16, 2009
1 parent 3618249 commit 69b4839
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/org/jruby/java/MiniJava.java
Expand Up @@ -33,7 +33,6 @@
import org.jruby.internal.runtime.methods.DynamicMethod;
import org.jruby.internal.runtime.methods.JavaMethod;
import org.jruby.internal.runtime.methods.UndefinedMethod;
import org.jruby.javasupport.Java;
import org.jruby.javasupport.JavaUtil;
import org.jruby.javasupport.util.RuntimeHelpers;
import org.jruby.runtime.Block;
Expand Down
3 changes: 1 addition & 2 deletions src/org/jruby/java/proxies/JavaInterfaceTemplate.java
Expand Up @@ -5,7 +5,6 @@
import org.jruby.RubyArray;
import org.jruby.RubyClass;
import org.jruby.RubyModule;
import org.jruby.RubyString;
import org.jruby.anno.JRubyMethod;
import org.jruby.exceptions.RaiseException;
import org.jruby.internal.runtime.methods.DynamicMethod;
Expand Down Expand Up @@ -255,7 +254,7 @@ public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule claz
assert self instanceof RubyClass : "new defined on non-class";

RubyClass clazzSelf = (RubyClass) self;
IRubyObject newObj = Java.newRealInterfaceImpl(clazzSelf);
IRubyObject newObj = Java.generateRealClass(clazzSelf);

RuntimeHelpers.invoke(context, newObj, "initialize", args, block);

Expand Down
2 changes: 1 addition & 1 deletion src/org/jruby/javasupport/Java.java
Expand Up @@ -1046,7 +1046,7 @@ public Object invoke(Object proxy, Method method, Object[] nargs) throws Throwab
}
}

public static IRubyObject newRealInterfaceImpl(final RubyClass clazz) {
public static IRubyObject generateRealClass(final RubyClass clazz) {
final Ruby runtime = clazz.getRuntime();
final Class[] interfaces = getInterfacesFromRubyClass(clazz);

Expand Down
1 change: 0 additions & 1 deletion src/org/jruby/javasupport/JavaSupport.java
Expand Up @@ -43,7 +43,6 @@
import org.jruby.RubyClass;
import org.jruby.RubyModule;
import org.jruby.exceptions.RaiseException;
import org.jruby.java.proxies.JavaProxy;
import org.jruby.javasupport.util.ObjectProxyCache;
import org.jruby.runtime.builtin.IRubyObject;
import org.jruby.runtime.callback.Callback;
Expand Down

0 comments on commit 69b4839

Please sign in to comment.