diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2013-04-13 06:16:11 -0400 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2013-04-13 06:16:11 -0400 |
commit | 5db307a695d661420455e455a5a2e2169355ee8a (patch) | |
tree | 86343ab60651de33ab79037af44e4fa4200e36ee | |
parent | 5f03dc61b46f1eddc09c1fc2963891be48dcc99c (diff) | |
parent | d90656f5366ba7bebd7c98e7b9a7affc5387a612 (diff) | |
download | jgit-5db307a695d661420455e455a5a2e2169355ee8a.tar.gz jgit-5db307a695d661420455e455a5a2e2169355ee8a.zip |
Merge "Fix a possible NPE"
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java index 4789fbe93f..95a1f352b1 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java @@ -103,7 +103,7 @@ public class NameRevCommand extends GitCommand<Map<ObjectId, String>> { if (tip != null) sb.append(format()); else - sb.append(String.valueOf(null)); + sb.append((Object) null); sb.append(',').append(cost).append(']').append(' ') .append(super.toString()).toString(); return sb.toString(); |