Solved source code warnings
authorMartin Taal <martin.taal@openbravo.com>
Thu, 11 Aug 2011 22:44:11 +0200
changeset 13520 6f34f40cc3a1
parent 13519 48434870753a
child 13521 5da22cc510dd
Solved source code warnings
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseActionHandler.java
--- a/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseActionHandler.java	Thu Aug 11 17:02:16 2011 +0200
+++ b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseActionHandler.java	Thu Aug 11 22:44:11 2011 +0200
@@ -43,7 +43,6 @@
    * @see org.openbravo.client.kernel.ActionHandler#execute(javax.servlet.http.HttpServletRequest,
    * javax.servlet.http.HttpServletResponse)
    */
-  @SuppressWarnings("unchecked")
   public void execute() {
     final StringBuilder sb = new StringBuilder();
     String line;
@@ -57,7 +56,7 @@
       final String content = (sb.length() > 0 ? sb.toString() : null);
 
       final Map<String, Object> parameterMap = new HashMap<String, Object>();
-      for (Enumeration keys = request.getParameterNames(); keys.hasMoreElements();) {
+      for (Enumeration<?> keys = request.getParameterNames(); keys.hasMoreElements();) {
         final String key = (String) keys.nextElement();
         if (request.getParameterValues(key) != null && request.getParameterValues(key).length > 1) {
           parameterMap.put(key, request.getParameterValues(key));