Fixed potential NPE in GitFlowRepository::findHead
commitfcb1b730f76867864c420beabe7dbbd57e9b33f7
authorMax Hohenegger <eclipse@hohenegger.eu>
Sun, 27 Sep 2015 13:01:01 +0000 (27 15:01 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 27 Sep 2015 20:58:25 +0000 (27 22:58 +0200)
tree4d95fac34ada07807b704e8f74e7b88b63045d2e
parente4993d97de3f2f7a36f0c075227f809c69de8ae7
Fixed potential NPE in GitFlowRepository::findHead

- RevWalk::parseCommit cannot take null-argument
- added nullable annotation and doc

Change-Id: I92656928211c868d22291e1ade9fa21792101df6
Signed-off-by: Max Hohenegger <eclipse@hohenegger.eu>
org.eclipse.egit.gitflow/src/org/eclipse/egit/gitflow/GitFlowRepository.java