diff --git a/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/launch/IResourceLaunchShortcut.java b/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/launch/IResourceLaunchShortcut.java index f26cc12..529b2d2 100644 --- a/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/launch/IResourceLaunchShortcut.java +++ b/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/launch/IResourceLaunchShortcut.java @@ -24,7 +24,7 @@ public interface IResourceLaunchShortcut extends ILaunchShortcut { @Override - public default void launch(ISelection selection, String mode) { + default void launch(ISelection selection, String mode) { if (selection instanceof IStructuredSelection) { Object element = ((IStructuredSelection) selection).getFirstElement(); IResource resource = null; @@ -45,10 +45,10 @@ public default void launch(ISelection selection, String mode) { } @Override - public default void launch(IEditorPart editor, String mode) { + default void launch(IEditorPart editor, String mode) { launchResource(editor.getEditorInput().getAdapter(IResource.class), mode); } - public abstract void launchResource(IResource resource, String mode); + void launchResource(IResource resource, String mode); } diff --git a/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/launch/RubyLaunchTabGroup.java b/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/launch/RubyLaunchTabGroup.java index 1613470..82dfad0 100644 --- a/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/launch/RubyLaunchTabGroup.java +++ b/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/launch/RubyLaunchTabGroup.java @@ -15,13 +15,12 @@ import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup; import org.eclipse.debug.ui.CommonTab; import org.eclipse.debug.ui.ILaunchConfigurationDialog; -import org.eclipse.debug.ui.ILaunchConfigurationTab; public class RubyLaunchTabGroup extends AbstractLaunchConfigurationTabGroup { @Override public void createTabs(ILaunchConfigurationDialog dialog, String mode) { - setTabs(new ILaunchConfigurationTab[] { new RubyLaunchTab(), new CommonTab() }); + setTabs(new RubyLaunchTab(), new CommonTab()); } diff --git a/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/preferences/Preference.java b/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/preferences/Preference.java index 662c66b..b882dbd 100644 --- a/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/preferences/Preference.java +++ b/eclipse-solargraph-plugin/src/main/java/io/github/pyvesb/eclipse_solargraph/preferences/Preference.java @@ -18,7 +18,7 @@ public interface Preference { - static final IEclipsePreferences PREFERENCES = InstanceScope.INSTANCE + IEclipsePreferences PREFERENCES = InstanceScope.INSTANCE .getNode(FrameworkUtil.getBundle(Preference.class).getSymbolicName()); String getKey(); diff --git a/eclipse-solargraph-target-platform/eclipse-solargraph-target-platform.target b/eclipse-solargraph-target-platform/eclipse-solargraph-target-platform.target index dc832e6..d2c702b 100644 --- a/eclipse-solargraph-target-platform/eclipse-solargraph-target-platform.target +++ b/eclipse-solargraph-target-platform/eclipse-solargraph-target-platform.target @@ -3,7 +3,7 @@ - + diff --git a/pom.xml b/pom.xml index 2603b2f..913135f 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ UTF-8 - 1.6.0 + 1.7.0