cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkazimirc...@apache.org
Subject [12/16] cayenne git commit: CAY-2060 Deprecate Query.getName() property, since it is only relevant for QueryDescriptor and not the Query itself.
Date Fri, 19 Feb 2016 14:07:36 GMT
CAY-2060 Deprecate Query.getName() property, since it is only relevant for QueryDescriptor
and not the Query itself.


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

Branch: refs/heads/master
Commit: aeabc69e5bb735367300ca9bece60d506efed37d
Parents: 74f65f9
Author: Dzmitry Kazimirchyk <dkazimirchyk@gmail.com>
Authored: Fri Feb 19 15:11:15 2016 +0300
Committer: Dzmitry Kazimirchyk <dkazimirchyk@gmail.com>
Committed: Fri Feb 19 16:57:47 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/cayenne/blob/aeabc69e/cayenne-server/src/main/java/org/apache/cayenne/query/Query.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/query/Query.java b/cayenne-server/src/main/java/org/apache/cayenne/query/Query.java
index ebd5ce0..62341d8 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/query/Query.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/query/Query.java
@@ -22,7 +22,6 @@ package org.apache.cayenne.query;
 import java.io.Serializable;
 
 import org.apache.cayenne.access.QueryEngine;
-import org.apache.cayenne.configuration.ConfigurationNode;
 import org.apache.cayenne.map.DataMap;
 import org.apache.cayenne.map.EntityResolver;
 
@@ -68,6 +67,7 @@ public interface Query extends Serializable {
      * queries stored in the DataMap.
      * 
      * @since 1.1
+     * @deprecated {@link QueryDescriptor#getName()} should be used instead
      */
     String getName();
 


Mime
View raw message