summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-03-05 10:57:41 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2018-03-05 10:57:41 +0900
commit52383c29199b35120bd6d139df2d212e79e87c7c (patch)
treee49db932590f01d87cd2b7dacda385d5410bd14b
parent60b43c03e218a7c94257105820b790e8dbc0ab6f (diff)
downloadjgit-52383c29199b35120bd6d139df2d212e79e87c7c.tar.gz
jgit-52383c29199b35120bd6d139df2d212e79e87c7c.zip
SmudgeFilter: Fix Integer boxing warning
Change-Id: Ic00bcd25b0808a58880a4433d76b3b5a6a4ee5c7 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r--org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java
index e89b7b086b..e2ab309230 100644
--- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java
+++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/SmudgeFilter.java
@@ -185,7 +185,8 @@ public class SmudgeFilter extends FilterCommand {
if (o.error != null) {
throw new IOException(
MessageFormat.format(LfsText.get().protocolError,
- o.error.code, o.error.message));
+ Integer.valueOf(o.error.code),
+ o.error.message));
}
if (o.actions == null) {
continue;