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/AuthorityFactoryAdapter.java
Revision 25939 | Revision 25940 |
---|---|
*
* @see #getFactoryGroup
*/
private transient FactoryGroup factories;
/**
* Creates a wrapper around no factory. This constructor should never be used except by |
*
* @see #getFactoryGroup
*/
private transient ReferencingFactoryContainer factories;
/**
* Creates a wrapper around no factory. This constructor should never be used except by |
* {@link TransformedAuthorityFactory} that need low-level access to factories. Do not change
* this method into a public one; we would need a better API before to do such thing.
*/
final FactoryGroup getFactoryGroup(final boolean crs) {
final AuthorityFactory factory;
if (crs) {
factory = crsFactory; |
* {@link TransformedAuthorityFactory} that need low-level access to factories. Do not change
* this method into a public one; we would need a better API before to do such thing.
*/
final ReferencingFactoryContainer getFactoryGroup(final boolean crs) {
final AuthorityFactory factory;
if (crs) {
factory = crsFactory; |
}
// No predefined factory group. Create one.
if (factories == null) {
factories = FactoryGroup.createInstance(hints());
}
return factories;
} |
}
// No predefined factory group. Create one.
if (factories == null) {
factories = ReferencingFactoryContainer.instance(hints());
}
return factories;
} |