cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r721197 - in /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access: ResultIterator.java TransactionResultIteratorDecorator.java jdbc/LimitResultIterator.java util/DistinctResultIterator.java
Date Thu, 27 Nov 2008 15:08:04 GMT
Author: aadamchik
Date: Thu Nov 27 07:08:03 2008
New Revision: 721197

URL: http://svn.apache.org/viewvc?rev=721197&view=rev
Log:
deprecating unused iterator method

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ResultIterator.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionResultIteratorDecorator.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/jdbc/LimitResultIterator.java
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/util/DistinctResultIterator.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ResultIterator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ResultIterator.java?rev=721197&r1=721196&r2=721197&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ResultIterator.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/ResultIterator.java
Thu Nov 27 07:08:03 2008
@@ -57,6 +57,7 @@
      * determined from the provided DbEntity.
      * 
      * @since 1.1
+     * @deprecated since 3.0 in favor of {@link #nextId(DbEntity)}.
      */
     Map<String, Object> nextObjectId(DbEntity entity) throws CayenneException;
 

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionResultIteratorDecorator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionResultIteratorDecorator.java?rev=721197&r1=721196&r2=721197&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionResultIteratorDecorator.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/TransactionResultIteratorDecorator.java
Thu Nov 27 07:08:03 2008
@@ -95,6 +95,9 @@
         return result.nextDataRow();
     }
 
+    /**
+     * @deprecated since 3.0 in favor of {@link #nextId(DbEntity)}.
+     */
     public Map nextObjectId(DbEntity entity) throws CayenneException {
         return result.nextObjectId(entity);
     }

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/jdbc/LimitResultIterator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/jdbc/LimitResultIterator.java?rev=721197&r1=721196&r2=721197&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/jdbc/LimitResultIterator.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/jdbc/LimitResultIterator.java
Thu Nov 27 07:08:03 2008
@@ -130,6 +130,9 @@
 
     }
 
+    /**
+     * @deprecated since 3.0 in favor of {@link #nextId(DbEntity)}.
+     */
     public Map<String, Object> nextObjectId(DbEntity entity) throws CayenneException
{
 
         if (!hasNextRow()) {

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/util/DistinctResultIterator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/util/DistinctResultIterator.java?rev=721197&r1=721196&r2=721197&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/util/DistinctResultIterator.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/access/util/DistinctResultIterator.java
Thu Nov 27 07:08:03 2008
@@ -125,6 +125,8 @@
     /**
      * Returns a Map for the next ObjectId. After calling this method, calls to
      * "nextDataRow()" will result in exceptions.
+     * 
+     * @deprecated since 3.0 in favor of {@link #nextId(DbEntity)}.
      */
     public Map nextObjectId(DbEntity entity) throws CayenneException {
         if (!hasNextRow()) {



Mime
View raw message