All of lore.kernel.org
 help / color / mirror / Atom feed
* jgit, MutableInteger vs AtomicInteger
@ 2008-11-25 13:54 Vasyl Vavrychuk
  2008-11-25 19:19 ` Shawn O. Pearce
  0 siblings, 1 reply; 2+ messages in thread
From: Vasyl Vavrychuk @ 2008-11-25 13:54 UTC (permalink / raw)
  To: git

Hi,

I've just started browsing jgit sources and an obvious question arise.
I didn't found such question in mail list and decided to ask the community.

I don't see reason behind creating own mutable integer container because we 
have java.util.concurrent.atomic.AtomicInteger with methods
    public final int get()
    public final void set(int i)

And that is what we want.

Regards,
  V. V.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-25 19:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-25 13:54 jgit, MutableInteger vs AtomicInteger Vasyl Vavrychuk
2008-11-25 19:19 ` Shawn O. Pearce

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.