aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2011-03-04 10:17:27 -0500
committerCode Review <codereview-daemon@eclipse.org>2011-03-04 10:17:27 -0500
commit2d4750ead885de73d78ec3bb39d5caff551982b3 (patch)
treef1f8dc024da72b4f5dc355ab953d1bd6636dd047
parent25ba407387a201d2c88bfd780849503136b4ebc6 (diff)
parentba77150040ab5cc9f8b02e4b8690d30a3aa41560 (diff)
downloadjgit-2d4750ead885de73d78ec3bb39d5caff551982b3.tar.gz
jgit-2d4750ead885de73d78ec3bb39d5caff551982b3.zip
Merge "Use generics in RepositoryFilter constructor"
-rw-r--r--org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java
index ceac043ea5..1097932ece 100644
--- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java
+++ b/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.
*/
public class RepositoryFilter implements Filter {
- private final RepositoryResolver resolver;
+ private final RepositoryResolver<HttpServletRequest> resolver;
private ServletContext context;
@@ -94,7 +94,7 @@ public class RepositoryFilter implements Filter {
* component to the actual {@link Repository} instance for the
* current web request.
*/
- public RepositoryFilter(final RepositoryResolver resolver) {
+ public RepositoryFilter(final RepositoryResolver<HttpServletRequest> resolver) {
this.resolver = resolver;
}