commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1429891 - in /commons/proper/collections/trunk/src: main/java/org/apache/commons/collections/ main/java/org/apache/commons/collections/trie/ test/java/org/apache/commons/collections/collection/
Date Mon, 07 Jan 2013 16:49:41 GMT
Author: ggregory
Date: Mon Jan  7 16:49:40 2013
New Revision: 1429891

URL: http://svn.apache.org/viewvc?rev=1429891&view=rev
Log:
Add missing '@Override' annotations.

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/trie/UnmodifiableTrie.java
    commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java?rev=1429891&r1=1429890&r2=1429891&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/ListUtils.java
Mon Jan  7 16:49:40 2013
@@ -548,6 +548,7 @@ public class ListUtils {
             this.size = size;
         }
 
+        @Override
         public List<T> get(int index) {
             int listSize = size();
             if (listSize < 0) {
@@ -565,6 +566,7 @@ public class ListUtils {
             return list.subList(start, end);
         }
 
+        @Override
         public int size() {
             return (list.size() + size - 1) / size;
         }

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/trie/UnmodifiableTrie.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/trie/UnmodifiableTrie.java?rev=1429891&r1=1429890&r2=1429891&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/trie/UnmodifiableTrie.java
(original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections/trie/UnmodifiableTrie.java
Mon Jan  7 16:49:40 2013
@@ -199,6 +199,7 @@ public class UnmodifiableTrie<K, V> impl
         return delegate.size();
     }
     
+    @Override
     public int hashCode() {
         return delegate.hashCode();
     }

Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java?rev=1429891&r1=1429890&r2=1429891&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java
(original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections/collection/IndexedCollectionTest.java
Mon Jan  7 16:49:40 2013
@@ -98,6 +98,7 @@ public class IndexedCollectionTest exten
 
     //------------------------------------------------------------------------
 
+    @Override
     public void testCollectionAddAll() {
         // FIXME: does not work as we do not support multi-keys yet
     }



Mime
View raw message