This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch geoapi-4.0
in repository https://gitbox.apache.org/repos/asf/sis.git

commit 17aa5b6690f1d88727449a407df1805e73671379
Author: Martin Desruisseaux <[email protected]>
AuthorDate: Sat Jul 11 15:03:14 2026 +0200

    Rename GeoHEIF `Pyramid` class as `PyramidedImageResource`.
---
 .../sis/storage/geoheif/{Pyramid.java => PyramidedImageResource.java} | 4 ++--
 .../main/org/apache/sis/storage/geoheif/ResourceBuilder.java          | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/Pyramid.java
 
b/incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/PyramidedImageResource.java
similarity index 96%
rename from 
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/Pyramid.java
rename to 
incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/PyramidedImageResource.java
index c94776a786..4caf630548 100644
--- 
a/incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/Pyramid.java
+++ 
b/incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/PyramidedImageResource.java
@@ -39,7 +39,7 @@ import 
org.apache.sis.storage.tiling.TiledGridCoverageResource;
  * @author Johann Sorel (Geomatys)
  * @author Martin Desruisseaux (Geomatys)
  */
-final class Pyramid extends TiledGridCoverageResource implements 
TiledGridCoverageResource.Pyramid {
+final class PyramidedImageResource extends TiledGridCoverageResource 
implements TiledGridCoverageResource.Pyramid {
     /**
      * Name of this pyramid, or {@code null} if none.
      */
@@ -79,7 +79,7 @@ final class Pyramid extends TiledGridCoverageResource 
implements TiledGridCovera
      * @param  levels   the child resources in arbitrary order. This array 
will be sorted in-place.
      * @throws TransformException if an error occurred while deriving a "grid 
to <abbr>CRS</abbr>" transform.
      */
-    Pyramid(final GeoHeifStore store, final GenericName name, final 
ImagePyramid pyramid, final ImageResource[] levels)
+    PyramidedImageResource(final GeoHeifStore store, final GenericName name, 
final ImagePyramid pyramid, final ImageResource[] levels)
             throws DataStoreException, TransformException
     {
         super(store);
diff --git 
a/incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/ResourceBuilder.java
 
b/incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/ResourceBuilder.java
index f632022d99..e966ab633c 100644
--- 
a/incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/ResourceBuilder.java
+++ 
b/incubator/src/org.apache.sis.storage.geoheif/main/org/apache/sis/storage/geoheif/ResourceBuilder.java
@@ -530,7 +530,7 @@ final class ResourceBuilder {
                         default: {
                             final var grids = 
components.toArray(ImageResource[]::new);
                             if (child instanceof ImagePyramid pyramid) {
-                                resource = new Pyramid(store, name, pyramid, 
grids);
+                                resource = new PyramidedImageResource(store, 
name, pyramid, grids);
                             } else {
                                 resource = new Group(store, name, grids);
                             }

Reply via email to