Bug 367946 - Overloaded matches method removal causes compile errors
diff --git a/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/internal/region/hook/RegionResolverHookTests.java b/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/internal/region/hook/RegionResolverHookTests.java
index 3d15cae..6257839 100644
--- a/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/internal/region/hook/RegionResolverHookTests.java
+++ b/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/internal/region/hook/RegionResolverHookTests.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011 VMware Inc.
+ * Copyright (c) 2012 VMware Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -568,13 +568,6 @@
public boolean matches(BundleCapability capability) {
throw new UnsupportedOperationException();
}
-
- @Override
- public boolean matches(Capability capability) {
- if (!(capability instanceof BundleCapability))
- return false;
- return matches((BundleCapability) capability);
- }
}
final class StubBundleRevision implements BundleRevision {