Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bundles/org.eclipse.urischeme/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Plugin.name
Bundle-SymbolicName: org.eclipse.urischeme;singleton:=true
Bundle-Version: 1.3.500.qualifier
Bundle-Version: 1.3.600.qualifier
Automatic-Module-Name: org.eclipse.urischeme
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: org.eclipse.equinox.common;bundle-version="[3.8.0,4.0.0)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public class AutoRegisterSchemeHandlersJob extends Job {
private static final String PROCESSED_SCHEMES_PREFERENCE = "processedSchemes"; //$NON-NLS-1$
private static final String SCHEME_LIST_PREFERENCE_SEPARATOR = ","; //$NON-NLS-1$
private static boolean alreadyTriggered = false;
private IEclipsePreferences testPreferenceNode;
private IUriSchemeExtensionReader testExtensionReader;
private IOperatingSystemRegistration testOsRegistration;
private final IEclipsePreferences testPreferenceNode;
private final IUriSchemeExtensionReader testExtensionReader;
private final IOperatingSystemRegistration testOsRegistration;

public AutoRegisterSchemeHandlersJob() {
// all defaults for lazy init NOT on UI thread
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ private IUriSchemeHandler createExecutableSchemeHandler(IConfigurationElement el

private static class Scheme implements IScheme {

private String uriScheme;
private String uriSchemeDescription;
private final String uriScheme;
private final String uriSchemeDescription;

public Scheme(String uriScheme, String uriSchemeDescription) {
this.uriScheme = uriScheme;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/
public class UriSchemeProcessor implements IUriSchemeProcessor {

private Map<String, IUriSchemeHandler> createdHandlers = new HashMap<>();
private final Map<String, IUriSchemeHandler> createdHandlers = new HashMap<>();
IUriSchemeExtensionReader reader = IUriSchemeExtensionReader.newInstance();

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class DesktopFileWriter {
private static final String KEY_MIME_TYPE = "MimeType"; //$NON-NLS-1$
private static final String KEY_EXEC = "Exec"; //$NON-NLS-1$
private static final String EXEC_URI_PLACEHOLDER = " %u"; //$NON-NLS-1$
private Map<String, String> properties;
private final Map<String, String> properties;

/**
* Creates an instance of the DekstopFileWriter. Throws an
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public void removeScheme(String scheme) {
public interface IOSupplier<T> {
T get() throws IOException;
}

/**
* Writes the content (xml) of the .plist file to the supplied {@link Writer}
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ public class RegistrationLinux implements IOperatingSystemRegistration {

private static final String X_SCHEME_HANDLER_PREFIX = "x-scheme-handler/"; //$NON-NLS-1$

private IFileProvider fileProvider;
private IProcessExecutor processExecutor;
private String productName;
private final IFileProvider fileProvider;
private final IProcessExecutor processExecutor;
private final String productName;

public RegistrationLinux() {
this(new FileProvider(), new ProcessExecutor(), getProductName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public class RegistrationMacOsX implements IOperatingSystemRegistration {
private static final String TRAILING_HEX_VALUE_WITH_BRACKETS = "\\s\\(0x\\w*\\)"; //$NON-NLS-1$
private static final String PATH_WITH_CAPTURING_GROUP = "path:\\s*(.*)"; //$NON-NLS-1$

private IFileProvider fileProvider;
private IProcessExecutor processExecutor;
private final IFileProvider fileProvider;
private final IProcessExecutor processExecutor;

private String[] lsRegisterOutput = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
*/
public class SchemeInformation implements ISchemeInformation {

private String name;
private String description;
private final String name;
private final String description;
private boolean handled;
private String handlerInstanceLocation;

Expand Down
Loading