On Monday 23 February 2009 13:43:44 Daniel Cheng wrote: > On Thu, Feb 5, 2009 at 3:44 AM, <[email protected]> wrote: > > Author: toad > > Date: 2009-02-04 19:44:01 +0000 (Wed, 04 Feb 2009) > > New Revision: 25559 > > > > Modified: > > branches/db4o/freenet/src/freenet/client/async/SplitFileInserterSegment.java > > Log: > > Duh... > > > > > > Modified: branches/db4o/freenet/src/freenet/client/async/SplitFileInserterSegment.java > > =================================================================== > > --- branches/db4o/freenet/src/freenet/client/async/SplitFileInserterSegment.java 2009-02-04 19:33:33 UTC (rev 25558) > > +++ branches/db4o/freenet/src/freenet/client/async/SplitFileInserterSegment.java 2009-02-04 19:44:01 UTC (rev 25559) > > @@ -969,7 +969,7 @@ > > checkFinished[checkNum] = true; > > checkFailed[checkNum] = true; > > blocksCompleted++; > > - blocks.remove(blockNum); > > + blocks.remove(new Integer(blockNum)); > > Why? > Add a comment here if it is really needed. > Or it may be removed in some auto-boxing "fix" later
It's an array. There is a remove(int index) as well as remove(Object member)! Granted this should probably be commented...
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Devl mailing list [email protected] http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
