{"thread":{"id":"19207","subject":"[PATCH] Don't allow others to instantiate NullProgressMonitor","startedAt":"2009-05-06T20:41:26Z","lastAt":"2009-05-06T20:41:26Z","messageCount":1,"participants":["Alex Blewitt"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"113125","messageId":"1241642486-7067-1-git-send-email-alex.blewitt@gmail.com","threadId":"19207","inReplyTo":null,"subject":"[PATCH] Don't allow others to instantiate NullProgressMonitor","fromName":"Alex Blewitt","fromEmail":"alex.blewitt@gmail.com","sentAt":"2009-05-06T20:41:26Z","receivedAt":"2009-05-06T20:41:26Z","isPatch":true,"sender":{"key":"alex.blewitt@gmail.com","avatar":"https://gravatar.com/avatar/fb95a3b593b290f03a8d3b022c20b2825205702c5651f731f65d33512dfe6ab2?d=mp&s=160"},"body":"---\n .../org/spearce/jgit/lib/NullProgressMonitor.java  |    4 ++++\n 1 files changed, 4 insertions(+), 0 deletions(-)\n\ndiff --git a/org.spearce.jgit/src/org/spearce/jgit/lib/NullProgressMonitor.java b/org.spearce.jgit/src/org/spearce/jgit/lib/NullProgressMonitor.java\nindex 191dc00..1c30e6b 100644\n--- a/org.spearce.jgit/src/org/spearce/jgit/lib/NullProgressMonitor.java\n+++ b/org.spearce.jgit/src/org/spearce/jgit/lib/NullProgressMonitor.java\n@@ -45,6 +45,10 @@\n \t/** Immutable instance of a null progress monitor. */\n \tpublic static final NullProgressMonitor INSTANCE = new NullProgressMonitor();\n \n+\tprivate NullProgressMonitor() {\n+\t\t// Do not let others instantiate\n+\t}\n+\t\n \tpublic void start(int totalTasks) {\n \t\t// Do not report.\n \t}\n-- \n1.6.2.2\n"}]}