diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-02-25 23:11:47 +0100 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-02-25 23:12:05 +0100 |
commit | ba77150040ab5cc9f8b02e4b8690d30a3aa41560 (patch) | |
tree | 626a8110c2b3781b241a888bac69dacd6796bc47 /org.eclipse.jgit.http.server/src | |
parent | 7e1f18c07990cfbb97e621bbfb25d80752add00c (diff) | |
download | jgit-ba77150040ab5cc9f8b02e4b8690d30a3aa41560.tar.gz jgit-ba77150040ab5cc9f8b02e4b8690d30a3aa41560.zip |
Use generics in RepositoryFilter constructor
Change-Id: I461786baffab15515365ead1d9c350a1880443ea
Diffstat (limited to 'org.eclipse.jgit.http.server/src')
-rw-r--r-- | org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java | 4 |
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; } |