public TenantCreateParam prepareTenantParam(KeystoneTenant tenant){
  TenantCreateParam param=new TenantCreateParam(CinderConstants.TENANT_NAME_PREFIX + " " + tenant.getName(),prepareUserMappings(tenant.getId()));
  param.setDescription(getProperTenantDescription(tenant.getDescription()));
  return param;
}

public TenantCreateParam prepareTenantParam ( KeystoneTenant tenant ) { TenantCreateParam param = new TenantCreateParam ( CinderConstants . TENANT_NAME_PREFIX + " " + tenant . getName ( ) , prepareUserMappings ( tenant . getId ( ) ) ) ; param . setDescription ( getProperTenantDescription ( tenant . getDescription ( ) ) ) ; return param ; }
prepares tenantcreateparam class filled with information from given tenant .
