Skip to content

Commit b5048dc

Browse files
author
Vladimir Kotal
committed
add missing qualifiers
1 parent c4b1b1e commit b5048dc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

opengrok-indexer/src/test/java/org/opengrok/indexer/web/DummyHttpServletRequest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public Object getValue(String string) {
117117
}
118118

119119
@Override
120-
public Enumeration getAttributeNames() {
120+
public Enumeration<String> getAttributeNames() {
121121
throw new UnsupportedOperationException("Not supported yet.");
122122
}
123123

@@ -181,12 +181,12 @@ public String getHeader(String string) {
181181
}
182182

183183
@Override
184-
public Enumeration getHeaders(String string) {
184+
public Enumeration<String> getHeaders(String string) {
185185
throw new UnsupportedOperationException("Not supported yet.");
186186
}
187187

188188
@Override
189-
public Enumeration getHeaderNames() {
189+
public Enumeration<String> getHeaderNames() {
190190
throw new UnsupportedOperationException("Not supported yet.");
191191
}
192192

@@ -333,7 +333,7 @@ public Object getAttribute(String string) {
333333
}
334334

335335
@Override
336-
public Enumeration getAttributeNames() {
336+
public Enumeration<String> getAttributeNames() {
337337
return Collections.enumeration(attrs.keySet());
338338
}
339339

@@ -373,7 +373,7 @@ public String getParameter(String string) {
373373
}
374374

375375
@Override
376-
public Enumeration getParameterNames() {
376+
public Enumeration<String> getParameterNames() {
377377
throw new UnsupportedOperationException("Not supported yet.");
378378
}
379379

@@ -383,7 +383,7 @@ public String[] getParameterValues(String string) {
383383
}
384384

385385
@Override
386-
public Map getParameterMap() {
386+
public Map<String,String[]> getParameterMap() {
387387
throw new UnsupportedOperationException("Not supported yet.");
388388
}
389389

@@ -438,7 +438,7 @@ public Locale getLocale() {
438438
}
439439

440440
@Override
441-
public Enumeration getLocales() {
441+
public Enumeration<Locale> getLocales() {
442442
throw new UnsupportedOperationException("Not supported yet.");
443443
}
444444

0 commit comments

Comments
 (0)