title: warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/197986/what-causes-javac-to-issue-the-uses-unchecked-or-unsafe-operations-warning">What causes javac to issue the &quot;uses unchecked or unsafe operations&quot; warning</a>  </p>
  </blockquote>
  
  
  
  <pre><code>public void setParameter(String name, String []values) {
      if (debug) System.out.println("LoginFilter::setParameter(" + name + "=" + values + ")" + " localParams = "+ localParams);
  
      if (localParams == null) {
      localParams = new Hashtable();
      // Copy the parameters from the underlying request.
      Map wrappedParams = getRequest().getParameterMap();
      Set keySet = wrappedParams.keySet();
      for (Iterator it = keySet.iterator(); it.hasNext(); ) {
          Object key = it.next();
          Object value = wrappedParams.get(key);
                  localParams.put(key, value);
          /*localParams.put(key, value);*/
      }
      }
      localParams.put(name, values);
  }
  </code></pre>
  
  <p>the warnins is : </p>
  
  <p>1) warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
                      localParams.put(key, value);</p>
  
  <p>2) warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
              localParams.put(name, values);
                             ^</p>
  
  <p>please help me to solve this problem</p>