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: OGC filter specification mandates that the default value of `matchCase` parameter is true.
Date Wed, 21 Aug 2019 17:13:20 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 2d7e4a4  OGC filter specification mandates that the default value of `matchCase`
parameter is true.
2d7e4a4 is described below

commit 2d7e4a405485bacf43f92b70ab068046def7606e
Author: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
AuthorDate: Wed Aug 21 19:11:40 2019 +0200

    OGC filter specification mandates that the default value of `matchCase` parameter is true.
---
 .../main/java/org/apache/sis/filter/DefaultFilterFactory.java  | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/sis-feature/src/main/java/org/apache/sis/filter/DefaultFilterFactory.java
b/core/sis-feature/src/main/java/org/apache/sis/filter/DefaultFilterFactory.java
index 5d9ad11..ea6422d 100644
--- a/core/sis-feature/src/main/java/org/apache/sis/filter/DefaultFilterFactory.java
+++ b/core/sis-feature/src/main/java/org/apache/sis/filter/DefaultFilterFactory.java
@@ -445,7 +445,7 @@ public class DefaultFilterFactory implements FilterFactory2 {
      */
     @Override
     public PropertyIsGreaterThan greater(final Expression expression1, final Expression expression2)
{
-        return greater(expression1,expression2,false, MatchAction.ANY);
+        return greater(expression1, expression2, true, MatchAction.ANY);
     }
 
     /**
@@ -463,7 +463,7 @@ public class DefaultFilterFactory implements FilterFactory2 {
      */
     @Override
     public PropertyIsGreaterThanOrEqualTo greaterOrEqual(final Expression expression1, final
Expression expression2) {
-        return greaterOrEqual(expression1, expression2,false, MatchAction.ANY);
+        return greaterOrEqual(expression1, expression2, true, MatchAction.ANY);
     }
 
     /**
@@ -481,7 +481,7 @@ public class DefaultFilterFactory implements FilterFactory2 {
      */
     @Override
     public PropertyIsLessThan less(final Expression expression1, final Expression expression2)
{
-        return less(expression1, expression2, false, MatchAction.ANY);
+        return less(expression1, expression2, true, MatchAction.ANY);
     }
 
     /**
@@ -499,7 +499,7 @@ public class DefaultFilterFactory implements FilterFactory2 {
      */
     @Override
     public PropertyIsLessThanOrEqualTo lessOrEqual(final Expression expression1, final Expression
expression2) {
-        return lessOrEqual(expression1, expression2, false, MatchAction.ANY);
+        return lessOrEqual(expression1, expression2, true, MatchAction.ANY);
     }
 
     /**
@@ -527,7 +527,7 @@ public class DefaultFilterFactory implements FilterFactory2 {
     public PropertyIsLike like(final Expression expression, final String pattern,
             final String wildcard, final String singleChar, final String escape)
     {
-        return like(expression,pattern,wildcard,singleChar,escape,false);
+        return like(expression, pattern, wildcard, singleChar, escape, true);
     }
 
     /**


Mime
View raw message