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 83ec78c Reduce by one the number of exceptions created when the fallback is used or when an error occurs. new e1b3d89 Move the `Compression` enumeration close to `Inflater`. It would allow sharing compression algorithms with other image formats in the future if needed. new 7bbdb81 Rename `Uncompressed` as `CopyFromBytes` because this class can be used even for compressed data. new 6580779 Ensure that the chunk size are not greater than buffer capacity. The 3 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: .../{storage => internal}/geotiff/Compression.java | 13 +++-- .../{Uncompressed.java => CopyFromBytes.java} | 30 +++++----- .../org/apache/sis/internal/geotiff/Inflater.java | 59 ++++++++++++++++++-- .../sis/storage/geotiff/CompressedSubset.java | 28 ++++++++-- .../org/apache/sis/storage/geotiff/DataCube.java | 20 +++---- .../sis/storage/geotiff/ImageFileDirectory.java | 1 + .../geotiff/CompressionTest.java | 6 +- .../apache/sis/internal/geotiff/InflaterTest.java | 64 ++++++++++++++++++++++ .../apache/sis/test/suite/GeoTiffTestSuite.java | 3 +- 9 files changed, 176 insertions(+), 48 deletions(-) rename storage/sis-geotiff/src/main/java/org/apache/sis/{storage => internal}/geotiff/Compression.java (93%) rename storage/sis-geotiff/src/main/java/org/apache/sis/internal/geotiff/{Uncompressed.java => CopyFromBytes.java} (91%) rename storage/sis-geotiff/src/test/java/org/apache/sis/{storage => internal}/geotiff/CompressionTest.java (92%) create mode 100644 storage/sis-geotiff/src/test/java/org/apache/sis/internal/geotiff/InflaterTest.java