dcv.value = values[i].trim();
dcv.value = (values[i] == null ? null : values[i].trim());
    public void addDC(String element, String qualifier, String lang,            String[] values)    {        // We will not verify that they are valid entries in the registry        // until update() is called.        for (int i = 0; i < values.length; i++)        {            DCValue dcv = new DCValue();            dcv.element = element;            dcv.qualifier = qualifier;            dcv.language = lang;            dcv.value = values[i].trim();            dublinCore.add(dcv);        }        if (values.length > 0)        {            dublinCoreChanged = true;        }    }