Remove javax.inject usages - unnecessary

Signed-off-by: BoykoAlex <alex.boyko@broadcom.com>
This commit is contained in:
BoykoAlex
2025-05-23 16:06:00 -07:00
parent 5bb1cd8fcd
commit d9d15eb380
13 changed files with 38 additions and 61 deletions

View File

@@ -48,6 +48,5 @@ Import-Package: org.eclipse.core.runtime,
org.apache.commons.lang3,
org.eclipse.osgi.util,
org.osgi.framework,
javax.inject,
org.json
Automatic-Module-Name: org.springframework.ide.eclipse.boot.wizard

View File

@@ -12,8 +12,7 @@ package org.springframework.ide.eclipse.boot.wizard.guides;
import java.util.HashMap;
import java.util.function.Predicate;
import javax.inject.Provider;
import java.util.function.Supplier;
import org.eclipse.jface.dialogs.Dialog;
import org.eclipse.jface.layout.GridDataFactory;
@@ -223,7 +222,7 @@ public class ChooseTypedContentSection extends WizardPageSection {
return false;
}
private boolean match(Provider<String> provider) {
private boolean match(Supplier<String> provider) {
if (matcher == null) {
return true; // Search term not set... anything is acceptable.
} else {