Spring Cleaning in December

- Delete unused imports
- Delete unused code
- Clean up warnings
This commit is contained in:
Sam Brannen
2015-12-17 20:27:33 +01:00
parent 0e68d2e951
commit 5b3edcd9f9
36 changed files with 61 additions and 128 deletions

View File

@@ -146,7 +146,6 @@ public class CommonsPortletMultipartResolver extends CommonsFileUploadSupport
* @return the parsing result
* @throws MultipartException if multipart resolution failed.
*/
@SuppressWarnings("unchecked")
protected MultipartParsingResult parseRequest(ActionRequest request) throws MultipartException {
String encoding = determineEncoding(request);
FileUpload fileUpload = prepareFileUpload(encoding);

View File

@@ -100,7 +100,6 @@ public class ServletWrappingPortletContext implements PortletContext {
}
@Override
@SuppressWarnings("unchecked")
public Set<String> getResourcePaths(String path) {
return this.servletContext.getResourcePaths(path);
}
@@ -116,7 +115,6 @@ public class ServletWrappingPortletContext implements PortletContext {
}
@Override
@SuppressWarnings("unchecked")
public Enumeration<String> getAttributeNames() {
return this.servletContext.getAttributeNames();
}
@@ -127,7 +125,6 @@ public class ServletWrappingPortletContext implements PortletContext {
}
@Override
@SuppressWarnings("unchecked")
public Enumeration<String> getInitParameterNames() {
return this.servletContext.getInitParameterNames();
}