FallbackAuthorityFactory changes for revisions 29117:29125

The change of proxy to getProxy() does not apply to SIS since we will not provide that method.

The change of == to != is a bug fix. However it does not apply to SIS since we do not plan to port this class. This class history is reported for documentation purpose and in case we want to revisit whether we support this class in the future.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r29117:29125 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/factory/FallbackAuthorityFactory.java
Revision 29117Revision 29125
 */
private void ensureFallback() throws FactoryException {
    if (fallback == null) {
        fallback = FallbackAuthorityFactory.this.getIdentifiedObjectFinder(getProxy().getType());
    }
    fallback.setFullScanAllowed(isFullScanAllowed());
}
 */
private void ensureFallback() throws FactoryException {
    if (fallback == null) {
        fallback = FallbackAuthorityFactory.this.fallback.getIdentifiedObjectFinder(getProxy().getType());
    }
    fallback.setFullScanAllowed(isFullScanAllowed());
}
@Override
public IdentifiedObject find(final IdentifiedObject object) throws FactoryException {
    IdentifiedObject candidate = finder.find(object);
    if (candidate == null) {
        return candidate;
    }
    ensureFallback();
@Override
public IdentifiedObject find(final IdentifiedObject object) throws FactoryException {
    IdentifiedObject candidate = finder.find(object);
    if (candidate != null) {
        return candidate;
    }
    ensureFallback();
@Override
public String findIdentifier(final IdentifiedObject object) throws FactoryException {
    String candidate = finder.findIdentifier(object);
    if (candidate == null) {
        return candidate;
    }
    ensureFallback();
@Override
public String findIdentifier(final IdentifiedObject object) throws FactoryException {
    String candidate = finder.findIdentifier(object);
    if (candidate != null) {
        return candidate;
    }
    ensureFallback();