diff options
author | Carsten Hammer <carsten.hammer@t-online.de> | 2019-04-06 19:44:26 +0200 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2019-04-11 11:49:32 +0900 |
commit | 38eaa490f2500f3c682541f295232673b2c9663b (patch) | |
tree | 9f0ca8f5aa7ede9b4fed5be0c57f150d7b356faa /org.eclipse.jgit.http.server | |
parent | 0db509f7e750336923fcee858a7152129dc1a321 (diff) | |
download | jgit-38eaa490f2500f3c682541f295232673b2c9663b.tar.gz jgit-38eaa490f2500f3c682541f295232673b2c9663b.zip |
Remove unnecessary type specifications
Since Java 7 the diamond operator can be used instead of explicit
type parameters.
Change-Id: I2dee5fce7afebb1d9088eeaec4484ee58b4fa492
Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.http.server')
-rw-r--r-- | org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java index 2ebe1b7d2f..51de8abd0e 100644 --- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java +++ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java @@ -202,7 +202,7 @@ public class GitFilter extends MetaFilter { if (resolver == null) { File root = getFile(filterConfig, "base-path"); boolean exportAll = getBoolean(filterConfig, "export-all"); - setRepositoryResolver(new FileResolver<HttpServletRequest>(root, exportAll)); + setRepositoryResolver(new FileResolver<>(root, exportAll)); } initialized = true; |