Skip to content
Browse files

Clean up some imports.

  • Loading branch information...
1 parent 3618249 commit 69b4839a311efb384779cb6cb64e85a09c10cda8 @headius headius committed
View
1 src/org/jruby/java/MiniJava.java
@@ -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;
View
3 src/org/jruby/java/proxies/JavaInterfaceTemplate.java
@@ -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;
@@ -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);
View
2 src/org/jruby/javasupport/Java.java
@@ -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);
View
1 src/org/jruby/javasupport/JavaSupport.java
@@ -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;

0 comments on commit 69b4839

Please sign in to comment.
Something went wrong with that request. Please try again.