aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Thoms2018-05-15 06:08:35 -0400
committerKarsten Thoms2018-06-12 07:45:59 -0400
commit5261274d3002fc135becdccca36a2a1ddd06aa3f (patch)
treeb505ce36e0296aba5a88c5a0535d56872d9fd3ef
parentbe6702e7d25c45db6e9ff60749a3d0ab5d18fdcd (diff)
downloadeclipse.platform.debug-5261274d3002fc135becdccca36a2a1ddd06aa3f.tar.gz
eclipse.platform.debug-5261274d3002fc135becdccca36a2a1ddd06aa3f.tar.xz
eclipse.platform.debug-5261274d3002fc135becdccca36a2a1ddd06aa3f.zip
Bug 534681 - Remove redundant modifiers in org.eclipse.core.variables
Change-Id: I0c9032ce4a6ededdcb28d8e67e7c204cbd7fa5c2 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariable.java4
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariableResolver.java2
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariable.java4
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariableManager.java36
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariable.java10
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableInitializer.java2
-rw-r--r--org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableListener.java6
7 files changed, 32 insertions, 32 deletions
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariable.java b/org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariable.java
index 7e127325a..31cd07719 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariable.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariable.java
@@ -48,7 +48,7 @@ public interface IDynamicVariable extends IStringVariable {
* <code>null</code>
* @throws CoreException if unable to resolve a value for this variable
*/
- public String getValue(String argument) throws CoreException;
+ String getValue(String argument) throws CoreException;
/**
* Returns whether this variable supports an argument, as specified
@@ -56,5 +56,5 @@ public interface IDynamicVariable extends IStringVariable {
*
* @return whether this variable supports an argument
*/
- public boolean supportsArgument();
+ boolean supportsArgument();
}
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariableResolver.java b/org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariableResolver.java
index 334f6cf36..3885ec043 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariableResolver.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/variables/IDynamicVariableResolver.java
@@ -32,5 +32,5 @@ public interface IDynamicVariableResolver {
* @return variable value, possibly <code>null</code>
* @throws CoreException if unable to resolve a value for the given variable
*/
- public String resolveValue(IDynamicVariable variable, String argument) throws CoreException;
+ String resolveValue(IDynamicVariable variable, String argument) throws CoreException;
}
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariable.java b/org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariable.java
index 128c907c9..d62d78277 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariable.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariable.java
@@ -45,13 +45,13 @@ public interface IStringVariable {
*
* @return variable name
*/
- public String getName();
+ String getName();
/**
* Returns a human readable description of this variable, possibly <code>null</code>
*
* @return a description of this variable, or <code>null</code> if none
*/
- public String getDescription();
+ String getDescription();
}
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariableManager.java b/org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariableManager.java
index 73aef0bcb..68416ab7d 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariableManager.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/variables/IStringVariableManager.java
@@ -23,27 +23,27 @@ public interface IStringVariableManager {
* Simple identifier constant (value <code>"dynamicVariables"</code>) for the
* dynamic variables extension point.
*/
- public static final String EXTENSION_POINT_DYNAMIC_VARIABLES = "dynamicVariables"; //$NON-NLS-1$
+ String EXTENSION_POINT_DYNAMIC_VARIABLES = "dynamicVariables"; //$NON-NLS-1$
/**
* Simple identifier constant (value <code>"valueVariables"</code>) for the
* value variables extension point.
*/
- public static final String EXTENSION_POINT_VALUE_VARIABLES = "valueVariables"; //$NON-NLS-1$
+ String EXTENSION_POINT_VALUE_VARIABLES = "valueVariables"; //$NON-NLS-1$
/**
* Returns all registered variables.
*
* @return a collection of all registered variables
*/
- public IStringVariable[] getVariables();
+ IStringVariable[] getVariables();
/**
* Returns all registered value variables.
*
* @return a collection of all registered value variables
*/
- public IValueVariable[] getValueVariables();
+ IValueVariable[] getValueVariables();
/**
* Returns the value variable with the given name, or <code>null</code>
@@ -53,14 +53,14 @@ public interface IStringVariableManager {
* @return the value variable with the given name, or <code>null</code>
* if none
*/
- public IValueVariable getValueVariable(String name);
+ IValueVariable getValueVariable(String name);
/**
* Returns all registered dynamic variables.
*
* @return a collection of all registered dynamic variables
*/
- public IDynamicVariable[] getDynamicVariables();
+ IDynamicVariable[] getDynamicVariables();
/**
* Returns the dynamic variable with the given name or <code>null</code>
@@ -70,7 +70,7 @@ public interface IStringVariableManager {
* @return the dynamic variable with the given name or <code>null</code>
* if none
*/
- public IDynamicVariable getDynamicVariable(String name);
+ IDynamicVariable getDynamicVariable(String name);
/**
* Returns the plug-in identifier of the plug-in that contributed the
@@ -82,7 +82,7 @@ public interface IStringVariableManager {
* given variable or <code>null</code>
* @since 3.1
*/
- public String getContributingPluginId(IStringVariable variable);
+ String getContributingPluginId(IStringVariable variable);
/**
* Recursively resolves and replaces all variable references in the given
@@ -94,7 +94,7 @@ public interface IStringVariableManager {
* @return expression with variable references replaced with variable values
* @throws CoreException if unable to resolve the value of one or more variables
*/
- public String performStringSubstitution(String expression) throws CoreException;
+ String performStringSubstitution(String expression) throws CoreException;
/**
* Recursively resolves and replaces all variable references in the given
@@ -108,7 +108,7 @@ public interface IStringVariableManager {
* @return expression with variable references replaced with variable values
* @throws CoreException if unable to resolve the value of one or more variables
*/
- public String performStringSubstitution(String expression, boolean reportUndefinedVariables) throws CoreException;
+ String performStringSubstitution(String expression, boolean reportUndefinedVariables) throws CoreException;
/**
* Validates variables references in the given expression and reports errors
@@ -117,7 +117,7 @@ public interface IStringVariableManager {
* @param expression expression referencing variables
* @throws CoreException if one or more referenced variables do not exist
*/
- public void validateStringVariables(String expression) throws CoreException;
+ void validateStringVariables(String expression) throws CoreException;
/**
* Returns a new read-write value variable with the given name and description
@@ -127,7 +127,7 @@ public interface IStringVariableManager {
* @param description variable description, possibly <code>null</code>
* @return a new value variable
*/
- public IValueVariable newValueVariable(String name, String description);
+ IValueVariable newValueVariable(String name, String description);
/**
* Returns a new value variable with the given properties.
@@ -140,7 +140,7 @@ public interface IStringVariableManager {
* @return a new value variable
* @since 3.3
*/
- public IValueVariable newValueVariable(String name, String description, boolean readOnly, String value);
+ IValueVariable newValueVariable(String name, String description, boolean readOnly, String value);
/**
* Adds the given variables to the variable registry.
@@ -149,7 +149,7 @@ public interface IStringVariableManager {
* @throws CoreException if one or more variables to add has a name collision with
* an existing variable
*/
- public void addVariables(IValueVariable[] variables) throws CoreException;
+ void addVariables(IValueVariable[] variables) throws CoreException;
/**
* Removes the given variables from the registry. Has no effect for unregistered
@@ -157,7 +157,7 @@ public interface IStringVariableManager {
*
* @param variables variables to remove
*/
- public void removeVariables(IValueVariable[] variables);
+ void removeVariables(IValueVariable[] variables);
/**
* Registers the given listener for value variable notifications. Has no effect
@@ -165,7 +165,7 @@ public interface IStringVariableManager {
*
* @param listener value variable listener to add
*/
- public void addValueVariableListener(IValueVariableListener listener);
+ void addValueVariableListener(IValueVariableListener listener);
/**
* Removes the given listener from the list of registered value variable
@@ -173,7 +173,7 @@ public interface IStringVariableManager {
*
* @param listener value variable listener to remove
*/
- public void removeValueVariableListener(IValueVariableListener listener);
+ void removeValueVariableListener(IValueVariableListener listener);
/**
* Convenience method that returns an expression referencing the given
@@ -186,6 +186,6 @@ public interface IStringVariableManager {
* @return an expression referencing the given variable and
* optional argument
*/
- public String generateVariableExpression(String varName, String arg);
+ String generateVariableExpression(String varName, String arg);
}
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariable.java b/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariable.java
index a0118c455..d488f0d95 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariable.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariable.java
@@ -57,21 +57,21 @@ public interface IValueVariable extends IStringVariable {
*
* @param value variable value
*/
- public void setValue(String value);
+ void setValue(String value);
/**
* Returns the value of this variable, or <code>null</code> if none.
*
* @return the value of this variable, or <code>null</code> if none
*/
- public String getValue();
+ String getValue();
/**
* Returns whether this variable was contributed by an extension.
*
* @return whether this variable was contributed by an extension
*/
- public boolean isContributed();
+ boolean isContributed();
/**
* Returns whether this variable is read only.
@@ -79,13 +79,13 @@ public interface IValueVariable extends IStringVariable {
* @return whether this variable is read only
* @since 3.3
*/
- public boolean isReadOnly();
+ boolean isReadOnly();
/**
* Sets the description of this variable to the given value.
*
* @param description variable description, possibly <code>null</code>
*/
- public void setDescription(String description);
+ void setDescription(String description);
}
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableInitializer.java b/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableInitializer.java
index f3169ebd7..7a436ad56 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableInitializer.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableInitializer.java
@@ -26,5 +26,5 @@ public interface IValueVariableInitializer {
*
* @param variable variable to initialize
*/
- public void initialize(IValueVariable variable);
+ void initialize(IValueVariable variable);
}
diff --git a/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableListener.java b/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableListener.java
index 8aa51da14..de5ed9bd4 100644
--- a/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableListener.java
+++ b/org.eclipse.core.variables/src/org/eclipse/core/variables/IValueVariableListener.java
@@ -27,7 +27,7 @@ public interface IValueVariableListener {
*
* @param variables added variables
*/
- public void variablesAdded(IValueVariable[] variables);
+ void variablesAdded(IValueVariable[] variables);
/**
* Notification the given variables have been removed from the variable
@@ -35,13 +35,13 @@ public interface IValueVariableListener {
*
* @param variables removed variables
*/
- public void variablesRemoved(IValueVariable[] variables);
+ void variablesRemoved(IValueVariable[] variables);
/**
* Notification the given variables have been changed value.
*
* @param variables changed variables
*/
- public void variablesChanged(IValueVariable[] variables);
+ void variablesChanged(IValueVariable[] variables);
}