Fix possible NPE / wromg code path in GitDocument
commite6241a926e80adb2601520cb849c0568cb6a42e2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sat, 12 Jun 2010 22:29:52 +0000 (13 00:29 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 15 Jun 2010 06:00:38 +0000 (15 08:00 +0200)
tree277c0dec56031ac8a18598f05aa8bc232c580b78
parent768b68bb969c9f2ee60cba007e3c3da311e78376
Fix possible NPE / wromg code path in GitDocument

This part of the code attempts to handle a rare problem. It might be that it
cannot happen and if it did the code would have crashed.

Change-Id: Icd6d7b8d575a5af4c4ca9db5df0f01e135bdbcd2
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/decorators/GitDocument.java