]> source.dussan.org Git - jgit.git/commitdiff
Fix a boxing warning in org.eclipse.jgit.pgm.RevWalkTextBuiltin 49/4249/2
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 18 Sep 2011 11:08:03 +0000 (13:08 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 18 Sep 2011 11:08:03 +0000 (13:08 +0200)
Change-Id: Ia154da79926ce25731e856bed264dd19a76bc1f1
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java

index 715cb71b43591a343543d47b8ba494ec0eb589a6..50fe31f8f3cc9db50284feb89cdbadb2f3745b08 100644 (file)
@@ -193,8 +193,10 @@ abstract class RevWalkTextBuiltin extends TextBuiltin {
                        final long end = System.currentTimeMillis();
                        System.err.print(n);
                        System.err.print(' ');
-                       System.err.println(MessageFormat.format(
-                                       CLIText.get().timeInMilliSeconds, end - start));
+                       System.err
+                                       .println(MessageFormat.format(
+                                                       CLIText.get().timeInMilliSeconds,
+                                                       Long.valueOf(end - start)));
                }
        }