|Re: [jgit-dev] JGit Client API|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? Bill Burdick <bill.burdick@xxxxxxxxx> wrote: > What about at least logging a message with the finalize method of the > builder if you don't send that final message? > > On Mon, Apr 19, 2010 at 4:56 AM, Shawn Pearce <spearce@xxxxxxxxxxx> wrote: > > > > The only problem with the builder approach is, its easy to forget that > > final verb method to fire the actual action. And the problem with finalize is that overriding it causes the object to enter the finalization queue, which slows down GC considerably. For small, lightweight, fast allocate-use-delete type objects, you DO NOT want to override finalize(). -- Shawn.
Back to the top