Remove redundant type arguments.
Change-Id: I30f8cc5bc18a931e0390e806629f8fc45ef12061
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/query/AbstractQueryTest.java b/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/query/AbstractQueryTest.java
index 7450a54..5ca02fd 100644
--- a/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/query/AbstractQueryTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests.ui/src/org/eclipse/equinox/p2/tests/ui/query/AbstractQueryTest.java
@@ -31,7 +31,8 @@
// use test query provider
// This is really not how the default policy should be used in practice,
// but we need to reset it for the tests.
- // ProvUI.setQueryProvider(new MockQueryProvider(getMockQuery(), ProvisioningUI.getDefaultUI()));
+ // ProvUI.setQueryProvider(new MockQueryProvider(getMockQuery(),
+ // ProvisioningUI.getDefaultUI()));
// some of the test repos are set up as system repos so we need to
// query all repos, not just non-system repos
// TODO consider evolving these tests to distinguish between system
@@ -47,11 +48,11 @@
RepositoryTracker manipulator = ProvisioningUI.getDefaultUI().getRepositoryTracker();
manipulator.setArtifactRepositoryFlags(IRepositoryManager.REPOSITORIES_NON_SYSTEM);
manipulator.setMetadataRepositoryFlags(IRepositoryManager.REPOSITORIES_NON_SYSTEM);
- // ProvUI.setQueryProvider(null);
+ // ProvUI.setQueryProvider(null);
}
protected IQuery<?> getMockQuery() {
- return new MatchQuery<Object>() {
+ return new MatchQuery<>() {
@Deprecated
@Override
public boolean isMatch(Object candidate) {