Avoid exception in Git Sharing Wizard
commitfaa4c30ad5816c45120a4ab44418a671b9c5c554
authorMichael Keppler <Michael.Keppler@gmx.de>
Wed, 3 Oct 2018 07:29:37 +0000 (3 09:29 +0200)
committerMichael Keppler <michael.keppler@gmx.de>
Mon, 8 Oct 2018 06:18:10 +0000 (8 02:18 -0400)
tree590de1914b67cd4e1d511118092013fdf5fe1f4b
parentf85d813702432d8faf19c55bd7983a30411c8e60
Avoid exception in Git Sharing Wizard

Even though the documentation does not describe a case where item can be
null, there are several similar reports in AERI. Therefore add a simple
null check, even though that is more a workaround than an actual fix of
the root cause.

Bug: 539744
Change-Id: Ic139774e6972e4c10f9b3b19530fc55c8f0db02c
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/sharing/ExistingOrNewPage.java