]> source.dussan.org Git - jgit.git/commit
Fix a possible NPE 61/11661/3
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Thu, 4 Apr 2013 22:07:20 +0000 (00:07 +0200)
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>
Thu, 4 Apr 2013 22:08:06 +0000 (18:08 -0400)
commitd90656f5366ba7bebd7c98e7b9a7affc5387a612
treee76ce9c3e6bdf4ff28553b8494c9ea701bfb7c29
parent93a27ce7287c5574bcf1ed872e8964314fc8818b
Fix a possible NPE

String.valueOf is an overloaded and the compiler unfortunately picks
the wrong one since null contains no type information.

Change-Id: Icd197eaa046421f3cfcc5bf3e7601dc5bc7486b6
org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java