cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1507811 - /cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/jdbc/JDBCResultIterator.java
Date Sun, 28 Jul 2013 16:15:49 GMT
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;



Mime
View raw message