Abstract & GeneralDirectPosition changes for revisions 7847:7848

This commit removes the Locale argument in the call to getName(…), as a consequence of the removal of that argument in the GeoAPI method signature. This is a trivial change which can hardly be done in other way (except omission of the call to toString(), which Geotk/SIS does), since keeping that argument causes a compilation error.

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/geometry/AbstractDirectPosition.java
Revision 7847Revision 7848
    final int dimension = crs.getCoordinateSystem().getDimension();
    if (dimension < minimalDimension) {
        throw new IllegalArgumentException(Resources.format(
               ResourceKeys.ERROR_MISMATCHED_DIMENSION_$3, crs.getName(Locale.getDefault()),
                            new Integer(dimension), new Integer(minimalDimension)));
    }
}
    final int dimension = crs.getCoordinateSystem().getDimension();
    if (dimension < minimalDimension) {
        throw new IllegalArgumentException(Resources.format(
               ResourceKeys.ERROR_MISMATCHED_DIMENSION_$3, crs.getName().toString(),
                            new Integer(dimension), new Integer(minimalDimension)));
    }
}