felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject svn commit: r1643494 - /felix/trunk/framework/src/main/java/org/apache/felix/framework/util/ImmutableList.java
Date Sat, 06 Dec 2014 05:41:53 GMT
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()



Mime
View raw message