code: public boolean changeServletProperties(Servlet servlet, Dictionary<String, String> properties)
      {
          if (servlet instanceof WebappServlet)
          {
              Dictionary<String, String> dictionary = ((WebappServlet)servlet).getProperties();
              properties = BaseBundleActivator.putAll(properties, dictionary);
          }
          return this.setServletProperties(servlet, properties);
      }
docs: Change the servlet properties to these properties.
  @param servlet
  @param properties
  @return