DirectAuthorityFactory changes for revisions 25939:25940

The only change in this commit is to rename FactoryGroup as ReferencingFactoryContainer. This change does not apply to SIS since we will try to avoid that ReferencingFactoryContainer class, or find another name.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r25939:25940 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/factory/DirectAuthorityFactory.java
Revision 25939Revision 25940
import java.util.Set;
import java.util.LinkedHashSet;
import java.util.Collection;
import java.util.Collections;

// OpenGIS dependencies
import org.opengis.referencing.*;
import org.opengis.referencing.crs.*;

// Geotools dependencies
import org.geotools.factory.Hints;
import java.util.Set;
import java.util.LinkedHashSet;
import java.util.Collection;

// OpenGIS dependencies
import org.opengis.referencing.*;

// Geotools dependencies
import org.geotools.factory.Hints;
/**
 * The underlying factories used for objects creation.
 */
protected final FactoryGroup factories;

/**
 * Tells if {@link FactoryGroup#hints} has been invoked. It must be invoked exactly once,
/**
 * The underlying factories used for objects creation.
 */
protected final ReferencingFactoryContainer factories;

/**
 * Tells if {@link FactoryGroup#hints} has been invoked. It must be invoked exactly once,
 *        {@link #MINIMUM_PRIORITY MINIMUM_PRIORITY} and
 *        {@link #MAXIMUM_PRIORITY MAXIMUM_PRIORITY} inclusive.
 */
protected DirectAuthorityFactory(final FactoryGroup factories, final int priority) {
    super(priority);
    this.factories = factories;
    ensureNonNull("factories", factories);
 *        {@link #MINIMUM_PRIORITY MINIMUM_PRIORITY} and
 *        {@link #MAXIMUM_PRIORITY MAXIMUM_PRIORITY} inclusive.
 */
protected DirectAuthorityFactory(final ReferencingFactoryContainer factories, final int priority) {
    super(priority);
    this.factories = factories;
    ensureNonNull("factories", factories);
 */
protected DirectAuthorityFactory(final Hints hints, final int priority) {
    super(priority);
    factories = FactoryGroup.createInstance(hints);
    // Do not copies the user-provided hints to this.hints, because
    // this is up to sub-classes to decide which hints are relevant.
}
 */
protected DirectAuthorityFactory(final Hints hints, final int priority) {
    super(priority);
    factories = ReferencingFactoryContainer.instance(hints);
    // Do not copies the user-provided hints to this.hints, because
    // this is up to sub-classes to decide which hints are relevant.
}