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 4789fbe93..95a1f352b 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> { 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();