You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2013/04/30 15:36:12 UTC

svn commit: r1477626 - /commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java

Author: sebb
Date: Tue Apr 30 13:36:11 2013
New Revision: 1477626

URL: http://svn.apache.org/r1477626
Log:
Fields can be private

Modified:
    commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java

Modified: commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java?rev=1477626&r1=1477625&r2=1477626&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java (original)
+++ commons/proper/collections/trunk/src/main/java/org/apache/commons/collections4/set/ListOrderedSet.java Tue Apr 30 13:36:11 2013
@@ -58,7 +58,7 @@ public class ListOrderedSet<E>
     private static final long serialVersionUID = -228664372470420141L;
 
     /** Internal list to hold the sequence of objects */
-    protected final List<E> setOrder;
+    private final List<E> setOrder;
 
     /**
      * Factory method to create an ordered set specifying the list and set to
@@ -368,10 +368,10 @@ public class ListOrderedSet<E>
         implements OrderedIterator<E> {
 
         /** Object we iterate on */
-        protected final Collection<E> set;
+        private final Collection<E> set;
 
         /** Last object retrieved */
-        protected E last;
+        private E last;
 
         private OrderedSetIterator(final ListIterator<E> iterator, final Collection<E> set) {
             super(iterator);