code: public void uninstall(boolean checkDependency, String productId, Collection<File> toBeDeleted) throws InstallException {
          String[] productIds = new String[1];
          productIds[0] = productId;
          uninstall(checkDependency, productIds, toBeDeleted);
      }
docs: Creates array of productIds and calls method below
  
  @param checkDependency if uninstall should check for dependencies
  @param productId Id of product to uninstall
  @param toBeDeleted Collection of files to uninstall
  @throws InstallException