From: SourceForge.net <no...@so...> - 2005-02-25 22:55:11
|
Bugs item #1152120, was opened at 2005-02-25 22:55 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1152120&group_id=44253 Category: Interactions Group: Would be nice if fixed ... Status: Open Resolution: None Priority: 5 Submitted By: Michael Dyrby Jensen (dyrby76) Assigned to: Nobody/Anonymous (nobody) Summary: AutoBoxing in methods in interactionspane doesnt work Initial Comment: As seen below a method declared inside a class can use autoboxing correctly, but not if the method is left unassigned to a class. void myMethod(int x, Integer y){ System.out.println(x+y); } > myMethod(1,1); Error: No 'myMethod' function with matching argument types class A { void myMethod(int x, Integer y){ System.out.println(x+y); } } > new A().myMethod(1,1) 2 void method(int z, int p){ System.out.println(z+p); } > method(2,9); 11 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1152120&group_id=44253 |