if (!properties.containsKey(ISVNDiffGeneratorFactory.GUTTER_PROPERTY)) { properties = new HashMap(properties);
if (properties == null || !properties.containsKey(ISVNDiffGeneratorFactory.GUTTER_PROPERTY)) { properties = new HashMap(properties == null ? Collections.EMPTY_MAP : properties);
    public ISVNDiffGenerator createGenerator(Map properties) {        if (myGeneratorsCache == null) {            myGeneratorsCache = new HashMap();        }                if (!properties.containsKey(ISVNDiffGeneratorFactory.GUTTER_PROPERTY)) {            properties = new HashMap(properties);            properties.put(ISVNDiffGeneratorFactory.GUTTER_PROPERTY, "3");        }           ISVNDiffGenerator generator = (ISVNDiffGenerator) myGeneratorsCache.get(properties);        if (generator != null) {            return generator;        }                generator = new SVNUniDiffGenerator(properties);        myGeneratorsCache.put(properties, generator);        return generator;    }