You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2016/10/24 19:11:11 UTC

cayenne git commit: deprecation notes for some DN garbage

Repository: cayenne
Updated Branches:
  refs/heads/master b8dc1128d -> 6533ec416


deprecation notes for some DN garbage


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

Branch: refs/heads/master
Commit: 6533ec416330fd97b956144ea562d4f633b8ceab
Parents: b8dc112
Author: Andrus Adamchik <an...@objectstyle.com>
Authored: Mon Oct 24 15:11:07 2016 -0400
Committer: Andrus Adamchik <an...@objectstyle.com>
Committed: Mon Oct 24 15:11:07 2016 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/cayenne/access/DataNode.java     | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/6533ec41/cayenne-server/src/main/java/org/apache/cayenne/access/DataNode.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/access/DataNode.java b/cayenne-server/src/main/java/org/apache/cayenne/access/DataNode.java
index 5c09b49..0014bdf 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/access/DataNode.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/access/DataNode.java
@@ -148,11 +148,18 @@ public class DataNode implements QueryEngine {
 	 * Returns a location of DataSource of this node. Depending on how this node
 	 * was created, location is either a JNDI name, or a location of node XML
 	 * file, etc.
+	 *
+	 * @deprecated since 4.0. This information is irrelevant at the DataNode level
 	 */
+	@Deprecated
 	public String getDataSourceLocation() {
 		return dataSourceLocation;
 	}
 
+	/**
+	 * @deprecated since 4.0. This information is irrelevant at the DataNode level
+	 */
+	@Deprecated
 	public void setDataSourceLocation(String dataSourceLocation) {
 		this.dataSourceLocation = dataSourceLocation;
 	}