summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.junit.http
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2016-02-15 18:21:49 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2016-02-15 18:21:49 +0900
commitcf8e0f34d93abdd9b06aeb9570f6fc0bed972d28 (patch)
tree7468ea63e9a2816decb8a0e759399f5a3cb9fb1c /org.eclipse.jgit.junit.http
parent8deff4b969653379c9a51d952d8c2cadae394934 (diff)
downloadjgit-cf8e0f34d93abdd9b06aeb9570f6fc0bed972d28.tar.gz
jgit-cf8e0f34d93abdd9b06aeb9570f6fc0bed972d28.zip
MockServletConfig: Fix warning about unchecked conversion of Enumeration
Change-Id: Ic5ce6d220e3b644032819ce4b2f31c669be1cdb9 Signed-off-by: David Pursehouse <david.pursehouse@sonymobile.com>
Diffstat (limited to 'org.eclipse.jgit.junit.http')
-rw-r--r--org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/MockServletConfig.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/MockServletConfig.java b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/MockServletConfig.java
index 0b4530ded2..59765890bd 100644
--- a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/MockServletConfig.java
+++ b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/MockServletConfig.java
@@ -62,7 +62,7 @@ public class MockServletConfig implements ServletConfig {
return parameters.get(name);
}
- public Enumeration getInitParameterNames() {
+ public Enumeration<String> getInitParameterNames() {
final Iterator<String> i = parameters.keySet().iterator();
return new Enumeration<String>() {
public boolean hasMoreElements() {