]> source.dussan.org Git - jgit.git/commitdiff
[blame] Don't pass null to PersonIdent constructor 02/8402/1
authorRobin Stocker <robin@nibor.org>
Mon, 29 Oct 2012 19:48:38 +0000 (20:48 +0100)
committerRobin Stocker <robin@nibor.org>
Mon, 29 Oct 2012 19:48:38 +0000 (20:48 +0100)
The API was changed to not allow null values anymore with
I0ac994ae8e47789d38f7c6e6db55d482f0f1bac3, leading to an IAE.

Bug: 393054
Change-Id: If33560ae976b46a02ff75b2e4ec05c13a8ad2d41

org.eclipse.jgit/src/org/eclipse/jgit/blame/Candidate.java

index 5f20ce957777d0d83b24efc3a930d3a265e8e1fd..2e4e7844b9acdcc6c820a15fd481ad3aea1a94ab 100644 (file)
@@ -380,7 +380,7 @@ class Candidate {
 
                @Override
                PersonIdent getAuthor() {
-                       return new PersonIdent(description, null);
+                       return new PersonIdent(description, "");
                }
        }
 }