https://issues.apache.org/bugzilla/show_bug.cgi?id=51175
--- Comment #2 from Stefan Stern <[email protected]> 2011-05-09 11:45:04 UTC --- Whether to use or not to use Autoboxing, that is one of those issues that turn out to become religious conflicts. After I stumbled over the List API, I decided to avoid them. But yes, it tends to inflate the code. Just keep in mind, how easily the following lines can be misunderstood: [code] List<Integer> list = new ArrayList<Integer>(); list.add(0); list.add(1); list.add(2); list.add(3); list.add(2,4); list.add(7); list.remove(0); list.remove(3); list.remove(new Integer(3)); list.remove(7); [/code] Just my 2 cents. ;) -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
