This is an automated email from the ASF dual-hosted git repository. desruisseaux pushed a change to branch geoapi-4.0 in repository https://gitbox.apache.org/repos/asf/sis.git
from b56244371d Use `ArithmeticException` for errors related to an overflow of integer capacity. new 8f36385c7d Rename some arguments for consistency and update documentation. There is no significant code change in this commit, only renaming. new 763442662f Clarify in documentation the behavior of `GridCoverage.Evaluator.toGridCoordinates(DirectPosition)`. new e4d0c384bb Consolidation of argument checks. new 295965c64a Add test for `PassThroughTransform` with non-consecutive modified coordinates. Allow `DefaultPassThroughOperation` to use non-consecutive coordinates at unmarshalling time. new fdf44c1605 Add an `AbstractFeatureSet` constructor receiving a `Resource` argument. This is a complement to similar change in `AbstractGridCoverageResource`. This commit contains an incompatible change in the following classes: new 34aaff134e `CombinedImageLayout.createColorModel()` should preserve the visible band of source image if possible. This commit also remove some `java.util.Optional` from internal API because all usages of it where invoking `orElse(null)`. The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../org/apache/sis/coverage/BandedCoverage.java | 9 +- .../sis/coverage/grid/BufferedGridCoverage.java | 22 ++-- .../apache/sis/coverage/grid/DefaultEvaluator.java | 6 +- .../sis/coverage/grid/DerivedGridCoverage.java | 16 ++- .../coverage/grid/FractionalGridCoordinates.java | 6 +- .../org/apache/sis/coverage/grid/GridCoverage.java | 18 ++- .../sis/coverage/grid/GridCoverageProcessor.java | 2 +- .../org/apache/sis/coverage/grid/GridExtent.java | 143 +++++++++++---------- .../org/apache/sis/coverage/grid/GridGeometry.java | 10 +- .../java/org/apache/sis/filter/LogicalFilter.java | 5 +- .../java/org/apache/sis/image/BandSelectImage.java | 5 +- .../org/apache/sis/image/CombinedImageLayout.java | 53 ++++---- .../java/org/apache/sis/image/ImageProcessor.java | 2 +- .../sis/internal/coverage/RangeArgument.java | 8 +- .../internal/coverage/j2d/ColorModelFactory.java | 73 ++++++++--- .../coverage/j2d/MultiBandsIndexColorModel.java | 23 ++-- .../internal/coverage/j2d/SampleModelFactory.java | 2 +- .../internal/coverage/j2d/ScaledColorModel.java | 15 ++- .../internal/coverage/j2d/ScaledColorSpace.java | 31 ++--- .../sis/internal/filter/sqlmm/SpatialFunction.java | 23 +--- .../org/apache/sis/util/iso/DefaultScopedName.java | 2 +- .../operation/DefaultPassThroughOperation.java | 141 ++++++++++---------- .../operation/builder/LinearTransformBuilder.java | 2 +- .../operation/transform/MathTransforms.java | 10 +- .../operation/transform/PassThroughTransform.java | 7 +- .../operation/transform/TransformSeparator.java | 26 ++-- .../transform/PassThroughTransformTest.java | 65 ++++++++-- .../java/org/apache/sis/util/ArgumentChecks.java | 112 +++++++++++----- .../src/main/java/org/apache/sis/util/Version.java | 2 +- .../java/org/apache/sis/util/package-info.java | 2 +- .../org/apache/sis/util/ArgumentChecksTest.java | 6 +- .../sis/internal/storage/MemoryFeatureSet.java | 10 +- .../sis/internal/storage/TiledGridResource.java | 3 +- .../sis/internal/storage/esri/RasterStore.java | 6 +- .../org/apache/sis/storage/AbstractFeatureSet.java | 14 +- .../java/org/apache/sis/storage/CoverageQuery.java | 2 +- .../java/org/apache/sis/storage/FeatureSubset.java | 4 +- .../storage/aggregate/AggregatedFeatureSet.java | 13 +- .../storage/aggregate/ConcatenatedFeatureSet.java | 8 +- .../sis/storage/aggregate/JoinFeatureSet.java | 10 +- 40 files changed, 558 insertions(+), 359 deletions(-)