You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by bo...@apache.org on 2014/12/06 06:41:53 UTC

svn commit: r1643494 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/util/ImmutableList.java

Author: bob
Date: Sat Dec  6 05:41:53 2014
New Revision: 1643494

URL: http://svn.apache.org/r1643494
Log:
FELIX-4723 Added unsupported operations to clean and retainAll methods.

Modified:
    felix/trunk/framework/src/main/java/org/apache/felix/framework/util/ImmutableList.java

Modified: felix/trunk/framework/src/main/java/org/apache/felix/framework/util/ImmutableList.java
URL: http://svn.apache.org/viewvc/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/ImmutableList.java?rev=1643494&r1=1643493&r2=1643494&view=diff
==============================================================================
--- felix/trunk/framework/src/main/java/org/apache/felix/framework/util/ImmutableList.java (original)
+++ felix/trunk/framework/src/main/java/org/apache/felix/framework/util/ImmutableList.java Sat Dec  6 05:41:53 2014
@@ -76,6 +76,18 @@ public class ImmutableList<E> extends Ab
     {
         throw new UnsupportedOperationException();
     }
+    
+    @Override
+    public void clear()
+    {
+        throw new UnsupportedOperationException();
+    }
+    
+    @Override
+    public boolean retainAll(java.util.Collection<?> c) 
+    {
+        throw new UnsupportedOperationException();
+    }
 
     @Override
     public Iterator<E> iterator()