summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorRobin Stocker2012-10-29 15:48:38 (EDT)
committer Robin Stocker2012-10-29 15:48:38 (EDT)
commitecf97083e59968723be4a26c1fc12bd69688ae87 (patch)
tree2f8122449d501cbc956705a57dde8994c9227d71
parent81fa5662953c54ba07e141284d3d9a717361b17b (diff)
downloadjgit-ecf97083e59968723be4a26c1fc12bd69688ae87.zip
jgit-ecf97083e59968723be4a26c1fc12bd69688ae87.tar.gz
jgit-ecf97083e59968723be4a26c1fc12bd69688ae87.tar.bz2
[blame] Don't pass null to PersonIdent constructorrefs/changes/02/8402/1
The API was changed to not allow null values anymore with I0ac994ae8e47789d38f7c6e6db55d482f0f1bac3, leading to an IAE. Bug: 393054 Change-Id: If33560ae976b46a02ff75b2e4ec05c13a8ad2d41
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/blame/Candidate.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/blame/Candidate.java b/org.eclipse.jgit/src/org/eclipse/jgit/blame/Candidate.java
index 5f20ce9..2e4e784 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/blame/Candidate.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/blame/Candidate.java
@@ -380,7 +380,7 @@ class Candidate {
@Override
PersonIdent getAuthor() {
- return new PersonIdent(description, null);
+ return new PersonIdent(description, "");
}
}
}