sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-4.0 updated: Give public access to `ImageLayout` constructor for allowing the use of different preferred tile size.
Date Mon, 20 Apr 2020 20:09:46 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/geoapi-4.0 by this push:
     new 3734fbe  Give public access to `ImageLayout` constructor for allowing the use of
different preferred tile size.
3734fbe is described below

commit 3734fbebf94f65dc10cd88b308808ecee1fd3f90
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Mon Apr 20 22:09:19 2020 +0200

    Give public access to `ImageLayout` constructor for allowing the use of different preferred
tile size.
---
 .../src/main/java/org/apache/sis/internal/coverage/j2d/ImageLayout.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/sis-feature/src/main/java/org/apache/sis/internal/coverage/j2d/ImageLayout.java
b/core/sis-feature/src/main/java/org/apache/sis/internal/coverage/j2d/ImageLayout.java
index ae0da95..b605755 100644
--- a/core/sis-feature/src/main/java/org/apache/sis/internal/coverage/j2d/ImageLayout.java
+++ b/core/sis-feature/src/main/java/org/apache/sis/internal/coverage/j2d/ImageLayout.java
@@ -77,7 +77,7 @@ public class ImageLayout {
      * @param  preferredTileSize  the preferred tile size, or {@code null} for the default
size.
      * @param  allowPartialTiles  whether this instance allows tiles that are only partially
filled.
      */
-    protected ImageLayout(final Dimension preferredTileSize, final boolean allowPartialTiles)
{
+    public ImageLayout(final Dimension preferredTileSize, final boolean allowPartialTiles)
{
         if (preferredTileSize != null) {
             preferredTileWidth  = preferredTileSize.width;
             preferredTileHeight = preferredTileSize.height;


Mime
View raw message