Fix compilation errors with Java < 8

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1693186 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/resolver/src/main/java/org/apache/felix/resolver/util/ArrayMap.java b/resolver/src/main/java/org/apache/felix/resolver/util/ArrayMap.java
index b4a559c..6ea4cf1 100644
--- a/resolver/src/main/java/org/apache/felix/resolver/util/ArrayMap.java
+++ b/resolver/src/main/java/org/apache/felix/resolver/util/ArrayMap.java
@@ -111,6 +111,10 @@
                             }
                             return (V) table[(index++ << 1) + 1];
                         }
+                        
+                        public void remove() {
+                            throw new UnsupportedOperationException();
+                        }
                     };
                 }
 
@@ -146,6 +150,10 @@
                         index++;
                         return entry;
                     }
+	
+	                public void remove() {
+                        throw new UnsupportedOperationException();
+                    }
                 };
             }