From edaca7ed12a26ade6ef7c9482d58e6ad186c27f9 Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sun, 18 Sep 2011 13:08:03 +0200 Subject: [PATCH] Fix a boxing warning in org.eclipse.jgit.pgm.RevWalkTextBuiltin Change-Id: Ia154da79926ce25731e856bed264dd19a76bc1f1 Signed-off-by: Robin Rosenberg --- .../src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java index 715cb71b4..50fe31f8f 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/RevWalkTextBuiltin.java @@ -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))); } }