Question about overloading and method selection with the wrong signature

Serabe, thanks for answering the last question so very, very rapidly!!

Another question about overloading and method selection with the wrong
signature

Jruby part:
cells = DefaultGraphCell[3].new
insert(cells)

How can I make sure that jruby calls the second method and not the first
(which it did)?
Java library part I am calling
public void insert(Object cell) {…}
public void insert(Object[] cells) {…}

Thanks, Rem

View this message in context:
http://www.nabble.com/question-about-overloading-and-method-selection-with-the-wrong-signature-tp21769375p21769375.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email