AbstractDerivedCRS changes for revisions 7847:7848

This commit has been forced by a change in GeoAPI interfaces. Reverting this commit causes a compilation error, which is fixed by redoing the same change.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r7847:7848 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/crs/AbstractDerivedCRS.java
Revision 7847Revision 7848
import org.opengis.referencing.operation.OperationMethod;
import org.opengis.referencing.operation.NoninvertibleTransformException;
import org.opengis.spatialschema.geometry.MismatchedDimensionException;
import org.opengis.parameter.GeneralOperationParameter;
import org.opengis.parameter.GeneralParameterValue;

// Geotools dependencies
import org.opengis.referencing.operation.OperationMethod;
import org.opengis.referencing.operation.NoninvertibleTransformException;
import org.opengis.spatialschema.geometry.MismatchedDimensionException;
import org.opengis.parameter.GeneralParameterDescriptor;
import org.opengis.parameter.GeneralParameterValue;

// Geotools dependencies
parameters = (GeneralParameterValue[]) properties.get("parameters");
OperationMethod method = (OperationMethod) properties.get("method");
if (method == null) {
    final GeneralOperationParameter[] descriptors;
    if (parameters != null) {
        descriptors = new GeneralOperationParameter[parameters.length];
        for (int i=0; i<descriptors.length; i++) {
            descriptors[i] = parameters[i].getDescriptor();
        }
parameters = (GeneralParameterValue[]) properties.get("parameters");
OperationMethod method = (OperationMethod) properties.get("method");
if (method == null) {
    final GeneralParameterDescriptor[] descriptors;
    if (parameters != null) {
        descriptors = new GeneralParameterDescriptor[parameters.length];
        for (int i=0; i<descriptors.length; i++) {
            descriptors[i] = parameters[i].getDescriptor();
        }