Browse Source

Merge "Fix a possible NPE"

stable-3.0
Robin Rosenberg 12 years ago committed by Gerrit Code Review @ Eclipse.org
parent
commit
5db307a695
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/api/NameRevCommand.java

2
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();

Loading…
Cancel
Save