Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Waibel2016-05-31 11:33:18 -0400
committerFlorian Waibel2016-05-31 11:33:18 -0400
commit7f09ef7852827f056e9bd8e0ec5e08d412b28b26 (patch)
tree67820961f38fc6c4248dac8d7a3275e826c2f782
parente1d3d0720ed6543ef14c1f47a23a6a392e85d5cf (diff)
downloadorg.eclipse.virgo.kernel-7f09ef7852827f056e9bd8e0ec5e08d412b28b26.tar.gz
org.eclipse.virgo.kernel-7f09ef7852827f056e9bd8e0ec5e08d412b28b26.tar.xz
org.eclipse.virgo.kernel-7f09ef7852827f056e9bd8e0ec5e08d412b28b26.zip
Removes unnecessary @SuppressWarning("unchecked")
-rw-r--r--org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/UploadServlet.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/UploadServlet.java b/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/UploadServlet.java
index fb4b5d07..eacbce0a 100644
--- a/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/UploadServlet.java
+++ b/org.eclipse.virgo.management.console/src/main/java/org/eclipse/virgo/management/console/UploadServlet.java
@@ -86,7 +86,6 @@ public class UploadServlet extends HttpServlet {
FileItemFactory factory = new DiskFileItemFactory();
ServletFileUpload upload = new ServletFileUpload(factory);
response.setContentType("text/html");
- @SuppressWarnings("unchecked")
List<FileItem> items = (List<FileItem>) upload.parseRequest(request);
List<File> uploadedFiles = new ArrayList<File>();
for (FileItem fileItem : items) {

Back to the top