Use a singleton for the NullProgressMonitor implementation
commitd694e260fc014ab1ce27531219b777f856629b54
authorShawn O. Pearce <spearce@spearce.org>
Wed, 9 Jul 2008 04:15:31 +0000 (9 00:15 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 9 Jul 2008 22:57:54 +0000 (10 00:57 +0200)
treed1d5f261543a21ab591b2685b36ea46e96e2d008
parentc57fa02e55989e8ac11d3ba8c6074019a17d985f
Use a singleton for the NullProgressMonitor implementation

No reason to create a new instance every time we need to shove
a null monitor into a variable because someone passed us null.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/lib/NullProgressMonitor.java
org.spearce.jgit/src/org/spearce/jgit/util/TemporaryBuffer.java