cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject cayenne git commit: CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)
Date Fri, 28 Nov 2014 13:32:58 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master a1eaded22 -> 16e5513cd


CAY-1971 Variants of Property.like(..) : contains(..), startsWith(..), endsWith(..)

consistent naming for 'likeIgnoreCase' in Property. Prior
to this we tried using 'likeInsensitive', which is
really no better by any standard


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/16e5513c
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/16e5513c
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/16e5513c

Branch: refs/heads/master
Commit: 16e5513cdd2982c5aed1a0da7c1dba62214e70a1
Parents: a1eaded
Author: aadamchik <aadamchik@apache.org>
Authored: Sat Nov 22 14:46:31 2014 +0300
Committer: aadamchik <aadamchik@apache.org>
Committed: Fri Nov 28 16:32:49 2014 +0300

----------------------------------------------------------------------
 cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/16e5513c/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java b/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
index 9554972..2de19ef 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/exp/Property.java
@@ -208,7 +208,7 @@ public class Property<E> {
 	/**
 	 * @return An expression for a case insensitive "NOT LIKE" query.
 	 */
-	public Expression nlikeInsensitive(String value) {
+	public Expression nlikeIgnoreCase(String value) {
 		return ExpressionFactory.notLikeIgnoreCaseExp(getName(), value);
 	}
 


Mime
View raw message