diff options
author | Kevin Sawicki <kevin@github.com> | 2012-05-08 21:42:53 -0700 |
---|---|---|
committer | Kevin Sawicki <kevin@github.com> | 2012-05-08 21:42:53 -0700 |
commit | 17fb542e9eaca9dffc4c84a6d23608dadb4b1ea1 (patch) | |
tree | 31bb1e77a76750139daa9942db230a3e7952604c /org.eclipse.jgit/src/org/eclipse/jgit/util/io/TimeoutInputStream.java | |
parent | e4effd25c542675b4c45c3ebeb5be81c23b316ff (diff) | |
download | jgit-17fb542e9eaca9dffc4c84a6d23608dadb4b1ea1.tar.gz jgit-17fb542e9eaca9dffc4c84a6d23608dadb4b1ea1.zip |
Remove 86 boxing warnings
Use Integer, Character, and Long valueOf methods when
passing parameters to MessageFormat and other places
that expect objects instead of primitives
Change-Id: I5942fbdbca6a378136c00d951ce61167f2366ca4
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util/io/TimeoutInputStream.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/util/io/TimeoutInputStream.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/TimeoutInputStream.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/TimeoutInputStream.java index f712ca1884..cda2b59b43 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/TimeoutInputStream.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/TimeoutInputStream.java @@ -83,7 +83,8 @@ public class TimeoutInputStream extends FilterInputStream { */ public void setTimeout(final int millis) { if (millis < 0) - throw new IllegalArgumentException(MessageFormat.format(JGitText.get().invalidTimeout, millis)); + throw new IllegalArgumentException(MessageFormat.format( + JGitText.get().invalidTimeout, Integer.valueOf(millis))); timeout = millis; } |