sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1790133 [5/5] - in /sis/branches/JDK9: ./ application/sis-console/src/main/java/org/apache/sis/console/ application/sis-webapp/src/main/java/org/apache/sis/index/tree/ application/sis-webapp/src/main/java/org/apache/sis/services/ core/sis-...
Date Tue, 04 Apr 2017 15:02:58 GMT
Modified: sis/branches/JDK9/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/CRSBuilder.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -180,7 +180,7 @@ final class CRSBuilder {
 
     /**
      * Minimal length that a key in a name must have before we compare them to the {@link #NAME_KEYS}.
-     * For example a value of 5 means that {@link #parseName(String)} will accept {@code "Ellip"},
+     * For example a value of 5 means that {@link #splitName(String)} will accept {@code "Ellip"},
      * {@code "Ellips"}, {@code "Ellipso"} and {@code "Ellipsoi"} as if they were {@code "Ellipsoid"}.
      * This length shall not be greater than the length of the shortest string in {@link #NAME_KEYS}.
      */
@@ -240,7 +240,7 @@ final class CRSBuilder {
     private CoordinateOperationFactory operationFactory;
 
     /**
-     * Name of the last object created. This is used by {@link #properties(String)} for reusing existing instance
+     * Name of the last object created. This is used by {@link #properties(Object)} for reusing existing instance
      * if possible. This is useful in GeoTIFF files since the same name is used for different geodetic components,
      * for example the datum and the ellipsoid.
      */
@@ -423,8 +423,7 @@ final class CRSBuilder {
      * A warning is reported before to throw the exception. There is no attempt to provide a good message
      * in the exception since is should be caught by {@link ImageFileDirectory}.
      *
-     * @param  key        the GeoTIFF key for which to get a value.
-     * @param  mandatory  whether a value is mandatory for the given key.
+     * @param  key  the GeoTIFF key for which to get a value.
      * @return a string representation of the value for the given key.
      * @throws NoSuchElementException if no value has been found.
      */
@@ -441,8 +440,7 @@ final class CRSBuilder {
      * A warning is reported before to throw the exception. There is no attempt to provide a good message in
      * the exception since is should be caught by {@link ImageFileDirectory}.
      *
-     * @param  key        the GeoTIFF key for which to get a value.
-     * @param  mandatory  whether a value is mandatory for the given key.
+     * @param  key  the GeoTIFF key for which to get a value.
      * @return the floating point value for the given key.
      * @throws NoSuchElementException if no value has been found.
      * @throws NumberFormatException if the value was stored as a string and can not be parsed.
@@ -1033,8 +1031,8 @@ final class CRSBuilder {
      *   <li>A code given by {@link GeoKeys#GeodeticDatum}.</li>
      *   <li>If above code is {@link GeoCodes#userDefined}, then:<ul>
      *     <li>a name given by {@link GeoKeys#GeogCitation},</li>
-     *     <li>all values required by {@link #createPrimeMeridian(Unit)} (optional),</li>
-     *     <li>all values required by {@link #createEllipsoid(Unit)}.</li>
+     *     <li>all values required by {@link #createPrimeMeridian(String[], Unit)} (optional),</li>
+     *     <li>all values required by {@link #createEllipsoid(String[], Unit)}.</li>
      *   </ul></li>
      * </ul>
      *
@@ -1046,8 +1044,8 @@ final class CRSBuilder {
      * @throws ClassCastException if an object defined by an EPSG code is not of the expected type.
      * @throws FactoryException if an error occurred during objects creation with the factories.
      *
-     * @see #createPrimeMeridian(Unit)
-     * @see #createEllipsoid(Unit)
+     * @see #createPrimeMeridian(String[], Unit)
+     * @see #createEllipsoid(String[], Unit)
      */
     private GeodeticDatum createGeodeticDatum(final String[] names, final Unit<Angle> angularUnit, final Unit<Length> linearUnit)
             throws FactoryException
@@ -1103,7 +1101,7 @@ final class CRSBuilder {
      * matches the given datum created from the EPSG geodetic dataset.
      * This method does not verify the EPSG code of the given datum.
      *
-     * @param  ellipsoid    the datum created from the EPSG geodetic dataset.
+     * @param  datum        the datum created from the EPSG geodetic dataset.
      * @param  angularUnit  unit of measurement declared in the GeoTIFF file.
      * @param  linearUnit   unit of measurement declared in the GeoTIFF file.
      */
@@ -1215,7 +1213,7 @@ final class CRSBuilder {
      * @throws ClassCastException if an object defined by an EPSG code is not of the expected type.
      * @throws FactoryException if an error occurred during objects creation with the factories.
      *
-     * @see #createGeodeticDatum(String, Unit, Unit)
+     * @see #createGeodeticDatum(String[], Unit, Unit)
      */
     private GeographicCRS createGeographicCRS(final boolean rightHanded, final Unit<Angle> angularUnit) throws FactoryException {
         final int epsg = getAsInteger(GeoKeys.GeographicType);
@@ -1283,7 +1281,7 @@ final class CRSBuilder {
      * @throws ClassCastException if an object defined by an EPSG code is not of the expected type.
      * @throws FactoryException if an error occurred during objects creation with the factories.
      *
-     * @see #createGeodeticDatum(String, Unit, Unit)
+     * @see #createGeodeticDatum(String[], Unit, Unit)
      */
     private GeocentricCRS createGeocentricCRS() throws FactoryException {
         final int epsg = getAsInteger(GeoKeys.GeographicType);
@@ -1369,8 +1367,8 @@ final class CRSBuilder {
      * @throws ClassCastException if an object defined by an EPSG code is not of the expected type.
      * @throws FactoryException if an error occurred during objects creation with the factories.
      *
-     * @see #createGeographicCRS(boolean)
-     * @see #createConversion(String)
+     * @see #createGeographicCRS(boolean, Unit)
+     * @see #createConversion(String, Unit, Unit)
      */
     private ProjectedCRS createProjectedCRS() throws FactoryException {
         final int epsg = getAsInteger(GeoKeys.ProjectedCSType);

Modified: sis/branches/JDK9/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/Compression.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/Compression.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/Compression.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-geotiff/src/main/java/org/apache/sis/storage/geotiff/Compression.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -26,7 +26,7 @@ package org.apache.sis.storage.geotiff;
  *
  * <blockquote>OGC 12-100: GML Application Schema - Coverages - GeoTIFF Coverage Encoding Profile</blockquote>
  *
- * The main exception is {@link #CCITT}, which has different name in CSW query and response.
+ * The main exception is {@code CCITT}, which has different name in CSW query and response.
  *
  * @author  Johann Sorel (Geomatys)
  * @author  Martin Desruisseaux (Geomatys)

Modified: sis/branches/JDK9/storage/sis-geotiff/src/test/java/org/apache/sis/storage/geotiff/CompressionTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-geotiff/src/test/java/org/apache/sis/storage/geotiff/CompressionTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-geotiff/src/test/java/org/apache/sis/storage/geotiff/CompressionTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-geotiff/src/test/java/org/apache/sis/storage/geotiff/CompressionTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -32,7 +32,7 @@ import static org.junit.Assert.*;
  */
 public final strictfp class CompressionTest extends TestCase {
     /**
-     * Tests {@link Compression#valueOf(int)}.
+     * Tests {@link Compression#valueOf(long)}.
      */
     @Test
     public void testValueOf() {

Modified: sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Decoder.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Decoder.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Decoder.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/Decoder.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -168,7 +168,7 @@ public abstract class Decoder implements
      * {@link ucar.nc2.NetcdfFile#getId()} method for that purpose, which we will use when
      * possible in case that {@code getId()} method is defined in an other way.
      *
-     * <p>This method is used by {@link org.apache.sis.storage.netcdf.MetadataReader} in last resort
+     * <p>This method is used by {@link org.apache.sis.storage.netcdf.NetcdfStore#getMetadata()} in last resort
      * when no value were found for the attributes defined by the CF standard or by THREDDS.</p>
      *
      * @return the global dataset identifier, or {@code null} if none.
@@ -182,7 +182,7 @@ public abstract class Decoder implements
      * {@link ucar.nc2.NetcdfFile#getTitle()} method for that purpose, which we will use when
      * possible in case that {@code getTitle()} method is defined in an other way.
      *
-     * <p>This method is used by {@link org.apache.sis.storage.netcdf.MetadataReader} in last resort
+     * <p>This method is used by {@link org.apache.sis.storage.netcdf.NetcdfStore#getMetadata()} in last resort
      * when no value were found for the attributes defined by the CF standard or by THREDDS.</p>
      *
      * @return the dataset title, or {@code null} if none.

Modified: sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/ChannelDecoder.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -165,7 +165,7 @@ public final class ChannelDecoder extend
      * @todo Fixed to ISO-LATIN-1 for now, needs to be determined in a better way.
      *
      * @see #NAME_ENCODING
-     * @see #readString(String)
+     * @see #readValues(DataType, int)
      */
     private final String encoding = "ISO-8859-1";
 
@@ -295,7 +295,7 @@ public final class ChannelDecoder extend
     }
 
     /**
-     * Returns the localized error resource bundle for the locale given by {@link #getLocale()}.
+     * Returns the localized error resource bundle for the locale given by {@link WarningListeners#getLocale()}.
      *
      * @return the localized error resource bundle.
      */
@@ -304,7 +304,7 @@ public final class ChannelDecoder extend
     }
 
     /**
-     * Returns the NetCDF-specific resource bundle for the locale given by {@link #getLocale()}.
+     * Returns the NetCDF-specific resource bundle for the locale given by {@link WarningListeners#getLocale()}.
      *
      * @return the localized error resource bundle.
      */
@@ -359,8 +359,6 @@ public final class ChannelDecoder extend
     /**
      * Reads a string from the channel in the {@value #NAME_ENCODING}. This is suitable for the dimension,
      * variable and attribute names in the header. Note that attribute value may have a different encoding.
-     *
-     * @param  length  number of bytes to read. The number of bytes actually read may be greater.
      */
     private String readName() throws IOException, DataStoreException {
         final int length = input.readInt();
@@ -455,7 +453,7 @@ public final class ChannelDecoder extend
      *
      * <ul>
      *   <li>The dimension name     (use {@link #readName()})</li>
-     *   <li>The dimension length   (use {@link #readInt()})</li>
+     *   <li>The dimension length   (use {@link ChannelDataInput#readInt()})</li>
      * </ul>
      *
      * @param  nelems  the number of dimensions to read.
@@ -484,9 +482,9 @@ public final class ChannelDecoder extend
      *
      * <ul>
      *   <li>The attribute name                             (use {@link #readName()})</li>
-     *   <li>The attribute type (BYTE, SHORT, …)            (use {@link #readInt()})</li>
-     *   <li>The number of values of the above type         (use {@link #readInt()})</li>
-     *   <li>The actual values as a variable length list    (use {@link #readValues(String,int,int)})</li>
+     *   <li>The attribute type (BYTE, SHORT, …)            (use {@link ChannelDataInput#readInt()})</li>
+     *   <li>The number of values of the above type         (use {@link ChannelDataInput#readInt()})</li>
+     *   <li>The actual values as a variable length list    (use {@link #readValues(DataType,int)})</li>
      * </ul>
      *
      * If the value is a {@code String}, then leading and trailing spaces and control characters
@@ -513,13 +511,13 @@ public final class ChannelDecoder extend
      *
      * <ul>
      *   <li>The variable name          (use {@link #readName()})</li>
-     *   <li>The number of dimensions   (use {@link #readInt()})</li>
-     *   <li>Index of all dimensions    (use {@link #readInt()} <var>n</var> time)</li>
-     *   <li>The {@link #ATTRIBUTE} tag (use {@link #readInt()} - actually combined as a long with next item)</li>
-     *   <li>Number of attributes       (use {@link #readInt()} - actually combined as a long with above item)</li>
+     *   <li>The number of dimensions   (use {@link ChannelDataInput#readInt()})</li>
+     *   <li>Index of all dimensions    (use {@link ChannelDataInput#readInt()} <var>n</var> time)</li>
+     *   <li>The {@link #ATTRIBUTE} tag (use {@link ChannelDataInput#readInt()} - actually combined as a long with next item)</li>
+     *   <li>Number of attributes       (use {@link ChannelDataInput#readInt()} - actually combined as a long with above item)</li>
      *   <li>The attribute values       (use {@link #readAttributes(int)})</li>
-     *   <li>The data type (BYTE, …)    (use {@link #readInt()})</li>
-     *   <li>The variable size          (use {@link #readInt()})</li>
+     *   <li>The data type (BYTE, …)    (use {@link ChannelDataInput#readInt()})</li>
+     *   <li>The variable size          (use {@link ChannelDataInput#readInt()})</li>
      *   <li>Offset where data begins   (use {@link #readOffset()})</li>
      * </ul>
      *
@@ -645,8 +643,8 @@ public final class ChannelDecoder extend
 
     /**
      * Returns the NetCDF attribute of the given name, or {@code null} if none.
-     * The {@code name} argument is typically (but is not restricted too) one of
-     * the constants defined in the {@link AttributeNames} class.
+     * The {@code name} argument is typically (but is not restricted to) one of the constants
+     * defined in the {@link org.apache.sis.storage.netcdf.AttributeNames} class.
      *
      * @param  name  the name of the attribute to search, or {@code null}.
      * @return the attribute value, or {@code null} if none.

Modified: sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/GridGeometryInfo.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/GridGeometryInfo.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/GridGeometryInfo.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/impl/GridGeometryInfo.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -90,7 +90,7 @@ final class GridGeometryInfo extends Gri
 
     /**
      * Returns all axes of the NetCDF coordinate system, together with the grid dimension to which the axis
-     * is associated. See {@link org.apache.sis.internal.netcdf.ucar.GridGeometryWrapper#getAxes()} for more
+     * is associated. See {@code org.apache.sis.internal.netcdf.ucar.GridGeometryWrapper.getAxes()} for more
      * information on the algorithm applied here, and relationship with the UCAR library.
      */
     @Override

Modified: sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/DecoderWrapper.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/DecoderWrapper.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/DecoderWrapper.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/DecoderWrapper.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -171,11 +171,11 @@ public final class DecoderWrapper extend
     /**
      * Returns the NetCDF attribute of the given name in the given group, or {@code null} if none.
      * This method is invoked for every global and group attributes to be read by this class (but
-     * not {@linkplain VariableSimpleIF variable} attributes), thus providing a single point where
-     * we can filter the attributes to be read - if we want to do that in a future version.
+     * not {@linkplain ucar.nc2.VariableSimpleIF variable} attributes), thus providing a single point
+     * where we can filter the attributes to be read - if we want to do that in a future version.
      *
      * <p>The {@code name} argument is typically (but is not restricted too) one of the constants
-     * defined in the {@link AttributeNames} class.</p>
+     * defined in the {@link org.apache.sis.storage.netcdf.AttributeNames} class.</p>
      *
      * @param  group  the group in which to search the attribute, or {@code null} for global attributes.
      * @param  name   the name of the attribute to search (can not be null).

Modified: sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/GridGeometryWrapper.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/GridGeometryWrapper.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/GridGeometryWrapper.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/internal/netcdf/ucar/GridGeometryWrapper.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -83,7 +83,7 @@ final class GridGeometryWrapper extends
      * (domain) and output (range) of the function that convert grid indices to geodetic coordinates.</p>
      *
      * <p>The domain of all axes (or the {@linkplain CoordinateSystem#getDomain() coordinate system domain})
-     * is often the same than the {@linkplain #getDomain() domain of the variable}, but not necessarily.
+     * is often the same than the domain of the variable, but not necessarily.
      * In particular, the relationship is not straightforward when the coordinate system contains instances
      * of {@link CoordinateAxis2D}.</p>
      */

Modified: sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/MetadataReader.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/MetadataReader.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/MetadataReader.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/main/java/org/apache/sis/storage/netcdf/MetadataReader.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -91,15 +91,15 @@ import static org.apache.sis.internal.ut
  * </ol>
  *
  * The {@code "CFMetadata"} group has precedence over the global attributes because the
- * {@linkplain #LONGITUDE longitude} and {@linkplain #LATITUDE latitude} resolutions are
- * often more accurate in that group.
+ * {@linkplain AttributeNames#LONGITUDE longitude} and {@linkplain AttributeNames#LATITUDE latitude}
+ * resolutions are often more accurate in that group.
  *
  * <div class="section">Known limitations</div>
  * <ul>
  *   <li>{@code "degrees_west"} and {@code "degrees_south"} units not correctly handled.</li>
  *   <li>Units of measurement not yet declared in the {@link Band} elements.</li>
- *   <li>{@link #FLAG_VALUES} and {@link #FLAG_MASKS} not yet included in the
- *       {@link RangeElementDescription} elements.</li>
+ *   <li>{@link AttributeNames#FLAG_VALUES} and {@link AttributeNames#FLAG_MASKS}
+ *       not yet included in the {@link RangeElementDescription} elements.</li>
  *   <li>Services (WMS, WCS, OPeNDAP, THREDDS) <i>etc.</i>) and transfer options not yet declared.</li>
  * </ul>
  *
@@ -124,7 +124,7 @@ final class MetadataReader {
 
     /**
      * The string to use as a keyword separator. This separator is used for parsing the
-     * {@value org.apache.sis.metadata.netcdf.AttributeNames#KEYWORDS} attribute value.
+     * {@value org.apache.sis.storage.netcdf.AttributeNames#KEYWORDS} attribute value.
      * This is a regular expression.
      */
     private static final String KEYWORD_SEPARATOR = ",";
@@ -132,8 +132,7 @@ final class MetadataReader {
     /**
      * The vertical coordinate reference system to be given to the object created by {@link #createExtent()}.
      *
-     * @todo Should be set to {@link org.apache.sis.referencing.crs.DefaultVerticalCRS#GEOIDAL_HEIGHT}
-     *       after we ported the {@code sis-referencing} module.
+     * @todo Should be set to {@code CommonCRS.MEAN_SEA_LEVEL}.
      */
     private static final VerticalCRS VERTICAL_CRS = null;
 
@@ -196,7 +195,8 @@ final class MetadataReader {
     }
 
     /**
-     * Returns the localized error resource bundle for the locale given by {@link #getLocale()}.
+     * Returns the localized error resource bundle for the locale given by
+     * {@link org.apache.sis.util.logging.WarningListeners#getLocale()}.
      *
      * @return the localized error resource bundle.
      */
@@ -887,7 +887,7 @@ final class MetadataReader {
      * Creates a {@code <gmd:rangeElementDescription>} elements from the given information.
      *
      * <p><b>Note:</b> ISO 19115 range elements are approximatively equivalent to
-     * {@link org.apache.sis.coverage.Category} in the {@code sis-coverage} module.</p>
+     * {@code org.apache.sis.coverage.Category} in the {@code sis-coverage} module.</p>
      *
      * @param  variable  the NetCDF variable.
      * @param  name      one of the elements in the {@link AttributeNames#FLAG_NAMES} attribute, or {@code null}.
@@ -916,8 +916,8 @@ final class MetadataReader {
      * The default implementation builds the identifier from the following attributes:
      *
      * <ul>
-     *   <li>{@value #NAMING_AUTHORITY} used as the {@linkplain Identifier#getAuthority() authority}.</li>
-     *   <li>{@value #IDENTIFIER}, or {@link ucar.nc2.NetcdfFile#getId()} if no identifier attribute was found.</li>
+     *   <li>{@value AttributeNames#NAMING_AUTHORITY} used as the {@linkplain Identifier#getAuthority() authority}.</li>
+     *   <li>{@value AttributeNames#IDENTIFIER}, or {@link ucar.nc2.NetcdfFile#getId()} if no identifier attribute was found.</li>
      * </ul>
      *
      * @return the globally unique identifier, or {@code null} if none.

Modified: sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridGeometryTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridGeometryTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridGeometryTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/GridGeometryTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -29,7 +29,7 @@ import static org.apache.sis.test.TestUt
 
 /**
  * Tests the {@link GridGeometry} implementation. The default implementation tests
- * {@link org.apache.sis.internal.netcdf.ucar.GridGeometryWrapper} since the UCAR
+ * {@code org.apache.sis.internal.netcdf.ucar.GridGeometryWrapper} since the UCAR
  * library is our reference implementation. However subclasses can override the
  * {@link #createDecoder(String)} method in order to test a different implementation.
  *

Modified: sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/VariableTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/VariableTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/VariableTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/internal/netcdf/VariableTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -27,7 +27,7 @@ import static org.opengis.test.Assert.*;
 
 /**
  * Tests the {@link Variable} implementation. The default implementation tests
- * {@link org.apache.sis.internal.netcdf.ucar.VariableWrapper} since the UCAR
+ * {@code org.apache.sis.internal.netcdf.ucar.VariableWrapper} since the UCAR
  * library is our reference implementation. However subclasses can override the
  * {@link #createDecoder(String)} method in order to test a different implementation.
  *

Modified: sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/storage/netcdf/NetcdfStoreTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/storage/netcdf/NetcdfStoreTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/storage/netcdf/NetcdfStoreTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-netcdf/src/test/java/org/apache/sis/storage/netcdf/NetcdfStoreTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -66,7 +66,7 @@ public final strictfp class NetcdfStoreT
     }
 
     /**
-     * Tests {@link Decoder#getConventionVersion()}.
+     * Tests {@link NetcdfStore#getConventionVersion()}.
      *
      * @throws DataStoreException if an error occurred while reading the NetCDF file.
      */

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/NodeType.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/NodeType.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/NodeType.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/NodeType.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -1,4 +1,4 @@
-/**
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.sis.index.tree;
 
 /**

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTree.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTree.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTree.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTree.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -1,4 +1,4 @@
-/**
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.sis.index.tree;
 
 //JDK imports

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeData.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeData.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeData.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeData.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -1,4 +1,4 @@
-/**
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.sis.index.tree;
 
 //SIS imports

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeNode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeNode.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeNode.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeNode.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -1,4 +1,4 @@
-/**
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.sis.index.tree;
 
 /**

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeWriter.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeWriter.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeWriter.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/QuadTreeWriter.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -1,4 +1,4 @@
-/**
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.sis.index.tree;
 
 //JDK imports

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/Quadrant.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/Quadrant.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/Quadrant.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/index/tree/Quadrant.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -1,4 +1,4 @@
-/**
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.sis.index.tree;
 
 /**

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/MetadataBuilder.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -215,7 +215,8 @@ public class MetadataBuilder {
      * For using the same instance of {@code Double} when the value is the same.
      * We use this map because the same values appear many time in a Landsat file.
      *
-     * @see #parseDouble(String)
+     * @see #shared(Integer)
+     * @see #shared(Double)
      */
     private final Map<Number,Number> sharedNumbers = new HashMap<>();
 
@@ -1379,9 +1380,8 @@ parse:      for (int i = 0; i < length;)
      * Sets the area of the dataset obscured by clouds, expressed as a percentage of the spatial extent.
      * This method does nothing if the given value is {@link Double#NaN}.
      *
-     * <p>This method is available only if {@link #commitCoverageDescription(boolean)}
-     * has been invoked with the {@code electromagnetic} parameter set to {@code true}.
-     * Storage location is:</p>
+     * <p>This method is available only if {@link #newCoverage(boolean)} has been invoked
+     * with the {@code electromagnetic} parameter set to {@code true}. Storage location is:</p>
      *
      * <pre>metadata/contentInfo/cloudCoverPercentage</pre>
      *
@@ -1399,9 +1399,8 @@ parse:      for (int i = 0; i < length;)
      * For images from a scanning device, refer to the centre pixel of the image.
      * This method does nothing if the given value is {@link Double#NaN}.
      *
-     * <p>This method is available only if {@link #commitCoverageDescription(boolean)}
-     * has been invoked with the {@code electromagnetic} parameter set to {@code true}.
-     * Storage location is:</p>
+     * <p>This method is available only if {@link #newCoverage(boolean)} has been invoked
+     * with the {@code electromagnetic} parameter set to {@code true}. Storage location is:</p>
      *
      * <pre>metadata/contentInfo/illuminationAzimuthAngle</pre>
      *
@@ -1420,9 +1419,8 @@ parse:      for (int i = 0; i < length;)
      * For images from a canning device, refer to the centre pixel of the image.
      * This method does nothing if the given value is {@link Double#NaN}.
      *
-     * <p>This method is available only if {@link #commitCoverageDescription(boolean)}
-     * has been invoked with the {@code electromagnetic} parameter set to {@code true}.
-     * Storage location is:</p>
+     * <p>This method is available only if {@link #newCoverage(boolean)} has been invoked
+     * with the {@code electromagnetic} parameter set to {@code true}. Storage location is:</p>
      *
      * <pre>metadata/contentInfo/illuminationElevationAngle</pre>
      *

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelDataOutput.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelDataOutput.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelDataOutput.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelDataOutput.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -227,7 +227,7 @@ public class ChannelDataOutput extends C
      * Writes the 16 low-order bits of value to the stream.
      * The 16 high-order bits of {@code v} are ignored.
      * This method ensures that there is space for at least 2 bytes in the buffer,
-     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#put(short)}.
+     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#putShort(short)}.
      *
      * @param  value  short integer to be written.
      * @throws IOException if some I/O exception occurs during writing.
@@ -240,7 +240,7 @@ public class ChannelDataOutput extends C
     /**
      * Writes char value (16 bits) into the steam.
      * This method ensures that there is space for at least 2 bytes in the buffer,
-     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#put(char)}.
+     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#putChar(char)}.
      *
      * @param  value  character to be written.
      * @throws IOException if some I/O exception occurs during writing.
@@ -253,7 +253,7 @@ public class ChannelDataOutput extends C
     /**
      * Writes integer value (32 bits) into the steam.
      * This method ensures that there is space for at least 4 bytes in the buffer,
-     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#put(int)}.
+     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#putInt(int)}.
      *
      * @param  value  integer to be written.
      * @throws IOException if some I/O exception occurs during writing.
@@ -266,7 +266,7 @@ public class ChannelDataOutput extends C
     /**
      * Writes long value (64 bits) into the steam.
      * This method ensures that there is space for at least 4 bytes in the buffer,
-     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#put(long)}.
+     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#putLong(long)}.
      *
      * @param  value  long integer to be written.
      * @throws IOException if some I/O exception occurs during writing.
@@ -279,7 +279,7 @@ public class ChannelDataOutput extends C
     /**
      * Writes float value (32 bits) into the steam.
      * This method ensures that there is space for at least 4 bytes in the buffer,
-     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#put(float)}.
+     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#putFloat(float)}.
      *
      * @param  value floating point value to be written.
      * @throws IOException if some I/O exception occurs during writing.
@@ -292,7 +292,7 @@ public class ChannelDataOutput extends C
     /**
      * Writes double value (64 bits) into the steam.
      * This method ensures that there is space for at least 8 bytes in the buffer,
-     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#put(double)}.
+     * (writing previous bytes into the channel if necessary), then delegates to {@link ByteBuffer#putDouble(double)}.
      *
      * @param  value  double precision floating point value to be written.
      * @throws IOException if some I/O exception occurs during writing.

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelFactory.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelFactory.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelFactory.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelFactory.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -51,13 +51,13 @@ import org.apache.sis.internal.storage.R
  * Opens a readable channel for a given input object (URL, input stream, <i>etc</i>).
  * The {@link #prepare prepare(…)} method analyzes the given input {@link Object} and tries to return a factory instance
  * capable to open at least one {@link ReadableByteChannel} for that input. For some kinds of input like {@link Path} or
- * {@link URL}, the {@link #reader()} method can be invoked an arbitrary amount of times for creating as many channels
+ * {@link URL}, the {@link #reader(String)} method can be invoked an arbitrary amount of times for creating as many channels
  * as needed. But for other kinds of input like {@link InputStream}, only one channel can be returned. In such case,
- * only the first {@link #reader()} method invocation will succeed and all subsequent ones will throw an exception.
+ * only the first {@link #reader(String)} method invocation will succeed and all subsequent ones will throw an exception.
  *
  * <div class="section">Multi-threading</div>
  * This class is not thread-safe, except for the static {@link #prepare prepare(…)} method.
- * Callers are responsible for synchronizing their call to any member methods ({@link #reader()}, <i>etc</i>).
+ * Callers are responsible for synchronizing their call to any member methods ({@link #reader(String)}, <i>etc</i>).
  *
  * @author  Martin Desruisseaux (Geomatys)
  * @author  Johann Sorel (Geomatys)
@@ -67,7 +67,7 @@ import org.apache.sis.internal.storage.R
  */
 public abstract class ChannelFactory {
     /**
-     * Options to be rejected by {@link #create(Object, String, OpenOption[])} for safety reasons.
+     * Options to be rejected by {@link #prepare(Object, String, boolean, OpenOption...)} for safety reasons.
      */
     private static final Set<StandardOpenOption> ILLEGAL_OPTIONS = EnumSet.of(
             StandardOpenOption.APPEND, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.DELETE_ON_CLOSE);
@@ -247,7 +247,7 @@ public abstract class ChannelFactory {
      * Returns {@code true} if this factory is capable to create another reader. This method returns {@code false}
      * if this factory is capable to create only one channel and {@link #reader(String)} has already been invoked.
      *
-     * @return whether {@link #reader()} can be invoked.
+     * @return whether {@link #reader(String)} can be invoked.
      */
     public boolean canOpen() {
         return true;

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelImageOutputStream.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelImageOutputStream.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelImageOutputStream.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/ChannelImageOutputStream.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -85,7 +85,7 @@ public class ChannelImageOutputStream ex
     }
 
     /**
-     * Writes boolean value (8 bits) into the steam. This method delegates to {@linkplain #writeByte(byte)}.
+     * Writes boolean value (8 bits) into the steam. This method delegates to {@linkplain #writeByte(int)}.
      * If boolean {@code v} is {@code true} the byte value 1 is written whereas if boolean is {@code false}
      * zero is written.
      *

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/DataTransfer.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/DataTransfer.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/DataTransfer.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/DataTransfer.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -46,7 +46,7 @@ interface DataTransfer {
     /**
      * Returns the data as a {@code char[]}, {@code short[]}, {@code int[]}, {@code long[]},
      * {@code float[]} or {@code double[]} array. This is either the array given in argument
-     * to the subclass constructor, or the array created by {@link #createArray(int)}.
+     * to the subclass constructor, or the array created by {@link #createDataArray(int)}.
      */
     Object dataArray();
 

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/HyperRectangleReader.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/HyperRectangleReader.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/HyperRectangleReader.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/internal/storage/io/HyperRectangleReader.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -44,7 +44,7 @@ public final class HyperRectangleReader
     private final DataTransfer reader;
 
     /**
-     * The {@link #input} position of the first sample (ignoring sub-area and sub-sampling).
+     * The {@code input} position of the first sample (ignoring sub-area and sub-sampling).
      */
     private final long origin;
 

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreException.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreException.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreException.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -107,7 +107,8 @@ public class DataStoreException extends
      * @param format    short name or abbreviation of the data format (e.g. "CSV", "GML", "WKT", <i>etc</i>).
      * @param filename  name of the file or data store where the error occurred.
      * @param store     the input or output object from which to get the current position, or {@code null} if none.
-     *                  This can be a {@link LineNumberReader} or {@link XMLStreamReader} for example.
+     *                  This can be a {@link java.io.LineNumberReader} or {@link javax.xml.stream.XMLStreamReader}
+     *                  for example.
      *
      * @since 0.8
      */

Modified: sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreReferencingException.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreReferencingException.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreReferencingException.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/main/java/org/apache/sis/storage/DataStoreReferencingException.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -22,7 +22,7 @@ import java.util.Locale;
 /**
  * Thrown when a data store failed to construct the coordinate reference system (CRS)
  * or other positioning information. This exception is typically (but not necessarily)
- * caused by {@link org.opengis.referencing.FactoryException} or
+ * caused by {@link org.opengis.util.FactoryException} or
  * {@link org.opengis.referencing.operation.TransformException}.
  *
  * @author  Martin Desruisseaux (Geomatys)

Modified: sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/index/tree/TestQuadTreeNode.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/index/tree/TestQuadTreeNode.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/index/tree/TestQuadTreeNode.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/index/tree/TestQuadTreeNode.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -1,4 +1,4 @@
-/**
+/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -14,7 +14,6 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-
 package org.apache.sis.index.tree;
 
 import junit.framework.TestCase;

Modified: sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/io/ByteArrayChannel.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/io/ByteArrayChannel.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/io/ByteArrayChannel.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/io/ByteArrayChannel.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -62,9 +62,9 @@ final strictfp class ByteArrayChannel im
     /**
      * Creates a channel which will store all written data in the given array.
      *
-     * @param data            bytes array where to write the data. The length of this array is the capacity.
-     * @param isContentValid  {@code true} if the channel should be initialized with all the {@code data} elements,
-     *                        or {@code false} if the channel should be considered initially empty.
+     * @param data         bytes array where to write the data. The length of this array is the capacity.
+     * @param isDataValid  {@code true} if the channel should be initialized with all the {@code data} elements,
+     *                     or {@code false} if the channel should be considered initially empty.
      */
     ByteArrayChannel(final byte[] data, final boolean isDataValid) {
         this.data = data;

Modified: sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/io/HyperRectangleReaderTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/io/HyperRectangleReaderTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/io/HyperRectangleReaderTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/io/HyperRectangleReaderTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -65,7 +65,7 @@ public final strictfp class HyperRectang
     private final int[] subsampling = new int[size.length];
 
     /**
-     * The reader to test for an hyper-cube of {@code short} values, created by {@link #initialize(Random)}.
+     * The reader to test for an hyper-cube of {@code short} values, created by {@link #initialize(Random, boolean)}.
      * Sample values are index values encoded in base 10. For example the value at index (4,1,2,3) will be 4123.
      */
     private HyperRectangleReader reader;

Modified: sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/wkt/StoreProviderTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/wkt/StoreProviderTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/wkt/StoreProviderTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/wkt/StoreProviderTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -55,7 +55,7 @@ public final strictfp class StoreProvide
     }
 
     /**
-     * Tests {@link StoreProvider#probeContent(StorageConnector)} method from a {@link Reader} object.
+     * Tests {@link StoreProvider#probeContent(StorageConnector)} method from a {@link java.io.Reader} object.
      *
      * @throws DataStoreException if en error occurred while reading the WKT.
      */

Modified: sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/wkt/StoreTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/wkt/StoreTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/wkt/StoreTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/wkt/StoreTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -64,7 +64,7 @@ public final strictfp class StoreTest ex
     }
 
     /**
-     * Tests {@link Store#getMetadata()} reading from a {@link Reader}.
+     * Tests {@link Store#getMetadata()} reading from a {@link java.io.Reader}.
      *
      * @throws DataStoreException if an error occurred while reading the metadata.
      */
@@ -80,8 +80,8 @@ public final strictfp class StoreTest ex
 
     /**
      * Tests {@link StoreProvider#probeContent(StorageConnector)} followed by {@link Store#getMetadata()}
-     * reading from an {@link InputStream}. This method tests indirectly {@link StorageConnector} capability
-     * to reset the {@code InputStream} to its original position after {@code probeContent(…)}.
+     * reading from an {@link java.io.InputStream}. This method tests indirectly {@link StorageConnector}
+     * capability to reset the {@code InputStream} to its original position after {@code probeContent(…)}.
      *
      * @throws DataStoreException if en error occurred while reading the WKT.
      */

Modified: sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/xml/StoreProviderTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/xml/StoreProviderTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/xml/StoreProviderTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/internal/storage/xml/StoreProviderTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -38,7 +38,7 @@ import static org.junit.Assert.*;
 @DependsOn(org.apache.sis.storage.StorageConnectorTest.class)
 public final strictfp class StoreProviderTest extends TestCase {
     /**
-     * Tests {@link StoreProvider#probeContent(StorageConnector)} method from a {@link Reader} object.
+     * Tests {@link StoreProvider#probeContent(StorageConnector)} method from a {@link java.io.Reader} object.
      *
      * @throws DataStoreException if en error occurred while reading the XML.
      */

Modified: sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/storage/FeatureNamingTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/storage/FeatureNamingTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/storage/FeatureNamingTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-storage/src/test/java/org/apache/sis/storage/FeatureNamingTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -49,8 +49,8 @@ public final strictfp class FeatureNamin
     }
 
     /**
-     * Tests {@link FeatureNaming#add(GenericName, Object)} followed by {@link FeatureNaming#get(String)}
-     * in a simple case where there is no ambiguity.
+     * Tests {@link FeatureNaming#add(DataStore, GenericName, Object)} followed by
+     * {@link FeatureNaming#get(DataStore, String)} in a simple case where there is no ambiguity.
      *
      * @throws IllegalNameException if an unexpected error occurred while adding or getting an element.
      */

Modified: sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/GroupPointsAsPolylineOperation.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/GroupPointsAsPolylineOperation.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/GroupPointsAsPolylineOperation.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/GroupPointsAsPolylineOperation.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -77,11 +77,11 @@ final class GroupPointsAsPolylineOperati
      * @param isFirst   whether {@code geometry} is the first object added to the given polyline.
      */
     @Override
-    void addGeometry(Polyline geom, final Object propVal, final boolean first) {
-        if (first) {
-            geom.startPath(((Point) propVal));
+    void addGeometry(final Polyline addTo, final Object geometry, final boolean isFirst) {
+        if (isFirst) {
+            addTo.startPath(((Point) geometry));
         } else {
-            geom.lineTo(((Point) propVal));
+            addTo.lineTo(((Point) geometry));
         }
     }
 }

Modified: sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/Types.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/Types.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/Types.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/gpx/Types.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -78,8 +78,6 @@ final class Types extends Static {
 
     /**
      * The list of feature types to be given to GPC metadata objects.
-     *
-     * @see Metadata#features
      */
     final Collection<ContentInformation> metadata;
 

Modified: sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/OutputType.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/OutputType.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/OutputType.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/OutputType.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -158,7 +158,7 @@ enum OutputType {
      * Returns a reader for the data written by the given writer, or {@code null} if we can not read the data.
      * If non-null, the value returned by this method is a snapshot of the given stream content, i.e. changes
      * in the output stream will not affect the returned input stream or reader. In particular, contrarily to
-     * {@link org.apache.sis.internal.storage.IOUtilities#toInputStream(AutoCloseable)} this method does not
+     * {@link org.apache.sis.internal.storage.io.IOUtilities#toInputStream(AutoCloseable)} this method does not
      * invalidate the output stream.
      *
      * <p>The returned input can be used by {@link #inputType}.</p>

Modified: sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/StaxDataStore.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/StaxDataStore.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/StaxDataStore.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/StaxDataStore.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -125,8 +125,8 @@ public abstract class StaxDataStore exte
      * instead than creating new streams for re-reading the data.  If we can not reset the stream but can
      * create a new one, then this field will become a reference to the new stream. This change should be
      * done only in last resort, when there is no way to reuse the existing stream.  This is because the
-     * streams created by {@link ChannelFactory#inputStream()} are not of the same kind than the streams
-     * created by {@link StorageConnector}.</p>
+     * streams created by {@link ChannelFactory#inputStream(String)} are not of the same kind than the
+     * streams created by {@link StorageConnector}.</p>
      *
      * @see #close()
      */

Modified: sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/StaxStreamWriter.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/StaxStreamWriter.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/StaxStreamWriter.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-xmlstore/src/main/java/org/apache/sis/internal/storage/xml/stream/StaxStreamWriter.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -99,7 +99,7 @@ public abstract class StaxStreamWriter e
      * The marshaller reserved to this writer usage,
      * created only when first needed and kept until this writer is closed.
      *
-     * @see #marshal(Object)
+     * @see #marshal(String, String, Class, Object)
      */
     private Marshaller marshaller;
 

Modified: sis/branches/JDK9/storage/sis-xmlstore/src/test/java/org/apache/sis/internal/storage/gpx/WriterTest.java
URL: http://svn.apache.org/viewvc/sis/branches/JDK9/storage/sis-xmlstore/src/test/java/org/apache/sis/internal/storage/gpx/WriterTest.java?rev=1790133&r1=1790132&r2=1790133&view=diff
==============================================================================
--- sis/branches/JDK9/storage/sis-xmlstore/src/test/java/org/apache/sis/internal/storage/gpx/WriterTest.java [UTF-8] (original)
+++ sis/branches/JDK9/storage/sis-xmlstore/src/test/java/org/apache/sis/internal/storage/gpx/WriterTest.java [UTF-8] Tue Apr  4 15:02:55 2017
@@ -129,7 +129,7 @@ public final strictfp class WriterTest e
     /**
      * Implementations of {@link #testMetadata100()} and {@link #testMetadata110()}.
      *
-     * @param version   either {@link Store#V1_0} or {@link Store#V1_1}.
+     * @param version   either {@link StoreProvider#V1_0} or {@link StoreProvider#V1_1}.
      * @param expected  name of a test file containing the expected XML result.
      */
     private void testMetadata(final Version version, final String expected) throws Exception {
@@ -225,7 +225,7 @@ public final strictfp class WriterTest e
     /**
      * Implementation of way points, routes and tracks test methods.
      *
-     * @param version   either {@link Store#V1_0} or {@link Store#V1_1}.
+     * @param version   either {@link StoreProvider#V1_0} or {@link StoreProvider#V1_1}.
      * @param type      the kind of feature to test: way point, route or track.
      * @param expected  name of a test file containing the expected XML result.
      */



Mime
View raw message