sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] 01/02: Trivial indentation fix.
Date Wed, 26 Aug 2020 14:50:25 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

commit 07ee1e0420a4d7504853f3eef77961c8eced2e1e
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Wed Aug 26 16:48:49 2020 +0200

    Trivial indentation fix.
---
 .../main/java/org/apache/sis/coverage/grid/ResampledGridCoverage.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/sis-feature/src/main/java/org/apache/sis/coverage/grid/ResampledGridCoverage.java
b/core/sis-feature/src/main/java/org/apache/sis/coverage/grid/ResampledGridCoverage.java
index 6905df0..4ead751 100644
--- a/core/sis-feature/src/main/java/org/apache/sis/coverage/grid/ResampledGridCoverage.java
+++ b/core/sis-feature/src/main/java/org/apache/sis/coverage/grid/ResampledGridCoverage.java
@@ -175,8 +175,8 @@ final class ResampledGridCoverage extends GridCoverage {
                 || Utilities.equalsIgnoreMetadata(sourceGG.getGridToCRS(PixelInCell.CELL_CENTER),
  // Its okay if only one is equal.
                                                   targetGG.getGridToCRS(PixelInCell.CELL_CENTER)))
             && (!isDefined(sourceGG, targetGG, GridGeometry.ENVELOPE)
-              || isDefined(sourceGG, targetGG, GridGeometry.EXTENT | GridGeometry.GRID_TO_CRS)
     // Compare only if not inferred.
-              || sourceGG.equalsApproximately(targetGG.envelope));
+                || isDefined(sourceGG, targetGG, GridGeometry.EXTENT | GridGeometry.GRID_TO_CRS)
   // Compare only if not inferred.
+                || sourceGG.equalsApproximately(targetGG.envelope));
     }
 
     /**


Mime
View raw message