Browse Source

Merge "Use generics in RepositoryFilter constructor"

stable-0.12
Shawn Pearce 14 years ago committed by Code Review
parent
commit
2d4750ead8
  1. 4
      org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java

4
org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java

@ -82,7 +82,7 @@ import org.eclipse.jgit.transport.resolver.ServiceNotEnabledException;
* attribute when the request is complete. * attribute when the request is complete.
*/ */
public class RepositoryFilter implements Filter { public class RepositoryFilter implements Filter {
private final RepositoryResolver resolver; private final RepositoryResolver<HttpServletRequest> resolver;
private ServletContext context; private ServletContext context;
@ -94,7 +94,7 @@ public class RepositoryFilter implements Filter {
* component to the actual {@link Repository} instance for the * component to the actual {@link Repository} instance for the
* current web request. * current web request.
*/ */
public RepositoryFilter(final RepositoryResolver resolver) { public RepositoryFilter(final RepositoryResolver<HttpServletRequest> resolver) {
this.resolver = resolver; this.resolver = resolver;
} }

Loading…
Cancel
Save