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 2013/07/28 18:15:49 UTC

svn commit: r1507811 - /cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/jdbc/JDBCResultIterator.java

Author: aadamchik
Date: Sun Jul 28 16:15:48 2013
New Revision: 1507811

URL: http://svn.apache.org/r1507811
Log:
Java 1.6 @Override for interface methods

Modified:
    cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/jdbc/JDBCResultIterator.java

Modified: cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/jdbc/JDBCResultIterator.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/jdbc/JDBCResultIterator.java?rev=1507811&r1=1507810&r2=1507811&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/jdbc/JDBCResultIterator.java (original)
+++ cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/jdbc/JDBCResultIterator.java Sun Jul 28 16:15:48 2013
@@ -84,6 +84,7 @@ public class JDBCResultIterator<T> imple
     /**
      * @since 3.2
      */
+    @Override
     public Iterator<T> iterator() {
         return new ResultIteratorIterator<T>(this);
     }
@@ -156,6 +157,7 @@ public class JDBCResultIterator<T> imple
     /**
      * @since 3.0
      */
+    @Override
     public List<T> allRows() {
         List<T> list = new ArrayList<T>();
 
@@ -170,6 +172,7 @@ public class JDBCResultIterator<T> imple
      * Returns true if there is at least one more record that can be read from
      * the iterator.
      */
+    @Override
     public boolean hasNextRow() {
         return nextRow;
     }
@@ -177,6 +180,7 @@ public class JDBCResultIterator<T> imple
     /**
      * @since 3.0
      */
+    @Override
     public T nextRow() {
         if (!hasNextRow()) {
             throw new NoSuchElementException("An attempt to read uninitialized row or past the end of the iterator.");
@@ -190,6 +194,7 @@ public class JDBCResultIterator<T> imple
     /**
      * @since 3.0
      */
+    @Override
     public void skipRow() {
         if (!hasNextRow()) {
             throw new NoSuchElementException("An attempt to read uninitialized row or past the end of the iterator.");
@@ -202,6 +207,7 @@ public class JDBCResultIterator<T> imple
      * called explicitly when the user is finished processing the records.
      * Otherwise unused database resources will not be released properly.
      */
+    @Override
     public void close() throws NoSuchElementException {
         if (!closed) {
             nextRow = false;