DefaultCoordinateSystemAxis changes for revisions 7856:7857

The constructors for which this commit is fixing javadoc and code do not exist anymore in SIS.

Command line:

svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r7856:7857 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/cs/DefaultCoordinateSystemAxis.java
Revision 7856Revision 7857
package org.geotools.referencing.cs;

// J2SE dependencies
import java.util.Map;
import java.util.Locale;
import java.util.Collections;
package org.geotools.referencing.cs;

// J2SE dependencies
import java.util.HashMap;
import java.util.Map;
import java.util.Locale;
import java.util.Collections;
// OpenGIS dependencies
import org.opengis.referencing.cs.AxisDirection;

// Geotools dependencies
import org.geotools.referencing.IdentifiedObject;
// OpenGIS dependencies
import org.opengis.referencing.cs.AxisDirection;
import org.opengis.util.InternationalString;

// Geotools dependencies
import org.geotools.referencing.IdentifiedObject;
private final Unit unit;

/**
 * Construct an axis with the same {@linkplain #getName name} than the abbreviation.
 *
 * @param abbreviation The {@linkplain #getAbbreviation abbreviation} used for this
 *                     coordinate system axes.
private final Unit unit;

/**
 * Construct an axis with the same {@linkplain #getName name} as the abbreviation.
 *
 * @param abbreviation The {@linkplain #getAbbreviation abbreviation} used for this
 *                     coordinate system axes.
{
    this(Collections.singletonMap("name", abbreviation), abbreviation, direction, unit);
}

/**
 * Construct an axis from a set of properties. The properties map is given unchanged
 * to the {@linkplain IdentifiedObject#IdentifiedObject(Map) super-class constructor}.
 *
{
    this(Collections.singletonMap("name", abbreviation), abbreviation, direction, unit);
}
/**
 * Construct an axis with an InternationalString name and a abbreviation.
 *
 * @param abbreviation The {@linkplain #getAbbreviation abbreviation} used for this
 *                     coordinate system axes.
 * @param direction    The {@linkplain #getDirection direction} of this coordinate system axis.
 * @param unit         The {@linkplain #getUnit unit of measure} used for this coordinate
 *                     system axis.
 */
public CoordinateSystemAxis(final InternationalString name,
                            final String        abbreviation,
                            final AxisDirection direction,
                            final Unit          unit)
{
    this( propertites( name, abbreviation), abbreviation, direction, unit);
}
private static Map propertites( final InternationalString name, final String abbreviation ){
    Map map = new HashMap();
    map.put( "name", name );
    map.put( "abbreviation", abbreviation );
    return map;
}
/**
 * Construct an axis from a set of properties. The properties map is given unchanged
 * to the {@linkplain IdentifiedObject#IdentifiedObject(Map) super-class constructor}.
 *
                 final Unit          unit,
                 final int           key)
{
    super(abbreviation, direction, unit);
    this.key = key;
}

/**
 * Returns a localized string. If <code>locale</code> is <code>null</code>, then the
 * {@linkplain Locale#ENGLISH English} locale is used in order to allows proper WKT
                 final Unit          unit,
                 final int           key)
{
    super( Resources.international( key ), abbreviation,
           direction, unit);
    this.key = key;
}
/**
 * Returns a localized string. If <code>locale</code> is <code>null</code>, then the
 * {@linkplain Locale#ENGLISH English} locale is used in order to allows proper WKT