[JGIT PATCH 02/28] Use die utility method in glog
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
---
.../src/org/spearce/jgit/pgm/Glog.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/org.spearce.jgit/src/org/spearce/jgit/pgm/Glog.java b/org.spearce.jgit/src/org/spearce/jgit/pgm/Glog.java
index 984b6d8..fbc5218 100644
--- a/org.spearce.jgit/src/org/spearce/jgit/pgm/Glog.java
+++ b/org.spearce.jgit/src/org/spearce/jgit/pgm/Glog.java
@@ -110,7 +110,7 @@ class Glog extends RevWalkTextBuiltin {
@Override
protected RevWalk createWalk() {
if (objects)
- throw new Die("Cannot use --objects with glog");
+ throw die("Cannot use --objects with glog");
final PlotWalk w = new PlotWalk(db);
w.sort(RevSort.BOUNDARY, true);
return w;
--
1.5.6.3.569.ga9185