DESCRIPTION

Follow up on adding nullness annotations to the o.e.jgit.lib.Repository

org.eclipse.jgit.lib.Repository class is an example of the API which
should be written with Java 8 java.util.Optional<T> type. Almost all
methods can return null values.

After annotating Repository type with "nulness" related annotations via
https://git.eclipse.org/r/60442 we see compiler errors in EGit.

This change fixes all new NP related compiler errors in EGit and
replaces possible NPE's with either appropriate exceptions, avoiding
multiple "Nullable return" method calls or early returning from the
method.

Change-Id: Id6ccd1367e9d4a669fd1692681d4f8d0ff33afc0
Signed-off-by: Jayvion Booth xxx@xxx.xxx

COMMENTS

author: Jayvion Booth
date: 2015-11-16 19:15:39.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2015-11-16 19:15:46.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/7817/

-------------------------------------
author: Brenden Conley
date: 2015-11-16 19:39:32.000000000

Patch Set 1: Verified+1

Build Successful 

https://hudson.eclipse.org/egit/job/egit.gerrit/7817/ : SUCCESS

-------------------------------------
author: Gerrit Johnathan Pham
date: 2015-11-17 17:28:32.000000000

Change has been successfully merged into the git repository by Jayvion Booth

-------------------------------------
