Remove javax.inject usages - unnecessary
Signed-off-by: BoykoAlex <alex.boyko@broadcom.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -12,7 +12,6 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.115.0",
|
||||
org.apache.httpcomponents.httpclient,
|
||||
org.apache.httpcomponents.httpcore,
|
||||
org.eclipse.wildwebdeveloper.embedder.node
|
||||
Import-Package: javax.inject
|
||||
Bundle-ClassPath: .
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Export-Package: org.springframework.ide.eclipse.xterm,
|
||||
|
||||
@@ -13,8 +13,6 @@ package org.springframework.ide.eclipse.xterm.views;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
import org.eclipse.core.resources.ResourcesPlugin;
|
||||
import org.eclipse.jface.action.Action;
|
||||
import org.eclipse.jface.action.IMenuManager;
|
||||
@@ -33,7 +31,6 @@ import org.eclipse.swt.widgets.Display;
|
||||
import org.eclipse.ui.IActionBars;
|
||||
import org.eclipse.ui.IMemento;
|
||||
import org.eclipse.ui.IViewSite;
|
||||
import org.eclipse.ui.IWorkbench;
|
||||
import org.eclipse.ui.PartInitException;
|
||||
import org.eclipse.ui.PlatformUI;
|
||||
import org.eclipse.ui.part.ViewPart;
|
||||
@@ -54,8 +51,6 @@ public class TerminalView extends ViewPart {
|
||||
*/
|
||||
public static final String ID = "org.springframework.ide.eclipse.xterm.views.TerminalView";
|
||||
|
||||
@Inject IWorkbench workbench;
|
||||
|
||||
private Action refreshAction;
|
||||
|
||||
private Browser browser;
|
||||
|
||||
Reference in New Issue
Block a user