diff options
Diffstat (limited to 'org.eclipse.jgit.http.server/src/org/eclipse/jgit')
-rw-r--r-- | org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/RegexGroupFilter.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/RegexGroupFilter.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/RegexGroupFilter.java index c8ff6a3308..68adc2d663 100644 --- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/RegexGroupFilter.java +++ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/RegexGroupFilter.java @@ -10,8 +10,6 @@ package org.eclipse.jgit.http.server.glue; -import static java.lang.Integer.valueOf; - import java.io.IOException; import java.text.MessageFormat; @@ -45,7 +43,8 @@ public class RegexGroupFilter implements Filter { public RegexGroupFilter(int groupIdx) { if (groupIdx < 1) throw new IllegalArgumentException(MessageFormat.format( - HttpServerText.get().invalidIndex, valueOf(groupIdx))); + HttpServerText.get().invalidIndex, + Integer.valueOf(groupIdx))); this.groupIdx = groupIdx - 1; } @@ -69,7 +68,7 @@ public class RegexGroupFilter implements Filter { else throw new ServletException(MessageFormat.format( HttpServerText.get().invalidRegexGroup, - valueOf(groupIdx + 1))); + Integer.valueOf(groupIdx + 1))); } private static WrappedRequest[] groupsFor(ServletRequest r) { |