LogarithmicTransform1D changes for revisions 7706:7843

Those two commits contain two kinds of changes:

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r7706:7843 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/operation/transform/LogarithmicTransform1D.java
Revision 7706Revision 7843
// OpenGIS dependencies
import org.opengis.parameter.ParameterValue;
import org.opengis.parameter.OperationParameter;
import org.opengis.parameter.ParameterValueGroup;
import org.opengis.parameter.OperationParameterGroup;
import org.opengis.parameter.ParameterNotFoundException;
import org.opengis.referencing.operation.MathTransform;
import org.opengis.referencing.operation.MathTransform1D;
// OpenGIS dependencies
import org.opengis.parameter.ParameterValue;
import org.opengis.parameter.ParameterDescriptor;
import org.opengis.parameter.ParameterValueGroup;
import org.opengis.parameter.ParameterDescriptorGroup;
import org.opengis.parameter.ParameterNotFoundException;
import org.opengis.referencing.operation.MathTransform;
import org.opengis.referencing.operation.MathTransform1D;
import org.geotools.referencing.Identifier;
import org.geotools.referencing.operation.LinearTransform;
import org.geotools.referencing.operation.MathTransformProvider;
import org.geotools.parameter.ParameterRealValue;
import org.geotools.resources.cts.ResourceKeys;
import org.geotools.referencing.Identifier;
import org.geotools.referencing.operation.LinearTransform;
import org.geotools.referencing.operation.MathTransformProvider;
import org.geotools.parameter.ParameterReal;
import org.geotools.resources.cts.ResourceKeys;
public ParameterValueGroup getParameterValues() {
    final ParameterValue[] parameters = new ParameterValue[offset!=0 ? 2 : 1];
    switch (parameters.length) {
        case 2: parameters[1] = new ParameterRealValue(Provider.OFFSET, offset); // fall through
        case 1: parameters[0] = new ParameterRealValue(Provider.BASE,   base);   // fall through
    }
    return new org.geotools.parameter.ParameterValueGroup(Provider.PARAMETERS, parameters);
}

/**
public ParameterValueGroup getParameterValues() {
    final ParameterValue[] parameters = new ParameterValue[offset!=0 ? 2 : 1];
    switch (parameters.length) {
        case 2: parameters[1] = new ParameterReal(Provider.OFFSET, offset); // fall through
        case 1: parameters[0] = new ParameterReal(Provider.BASE,   base);   // fall through
    }
    return new org.geotools.parameter.ParameterGroup(Provider.PARAMETERS, parameters);
}

/**
 * The operation parameter descriptor for the {@link #base base} parameter value.
 * Valid values range from 0 to infinity. The default value is 10.
 */
public static final OperationParameter BASE = new org.geotools.parameter.OperationParameter(
        "base", 10, 0, Double.POSITIVE_INFINITY, Unit.ONE);

/**
 * The operation parameter descriptor for the {@link #base base} parameter value.
 * Valid values range from 0 to infinity. The default value is 10.
 */
public static final ParameterDescriptor BASE = new org.geotools.parameter.ParameterDescriptor(
        "base", 10, 0, Double.POSITIVE_INFINITY, Unit.ONE);

/**
 * The operation parameter descriptor for the {@link #offset offset} parameter value.
 * Valid values range is unrestricted. The default value is 0.
 */
public static final OperationParameter OFFSET = new org.geotools.parameter.OperationParameter(
        "offset", 0, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, Unit.ONE);

/**
 * The parameters group.
 */
static final OperationParameterGroup PARAMETERS = group(
             new Identifier[] {
                new Identifier(Citation.GEOTOOLS, null, "Logarithmic")
             }, new OperationParameter[] {
                BASE, OFFSET
             });
 * The operation parameter descriptor for the {@link #offset offset} parameter value.
 * Valid values range is unrestricted. The default value is 0.
 */
public static final ParameterDescriptor OFFSET = new org.geotools.parameter.ParameterDescriptor(
        "offset", 0, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, Unit.ONE);

/**
 * The parameters group.
 */
static final ParameterDescriptorGroup PARAMETERS = group(
             new Identifier[] {
                new Identifier(Citation.GEOTOOLS, null, "Logarithmic")
             }, new ParameterDescriptor[] {
                BASE, OFFSET
             });