Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.core/core/org/eclipse/debug/internal/core')
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java14
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java110
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java10
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java10
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java2
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java8
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/Preferences.java72
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/PreferredDelegateModifyListener.java2
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ResourceFactory.java4
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceLocatorMementoComparator.java2
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourcePathComputer.java16
-rw-r--r--org.eclipse.debug.core/core/org/eclipse/debug/internal/core/variables/Messages.java2
12 files changed, 126 insertions, 126 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java
index 72a93b1d6..6b6477999 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java
@@ -17,7 +17,7 @@ import org.eclipse.debug.core.model.IBreakpointImportParticipant;
/**
* Proxy to a breakpointImportParticipant extension.
* Client can contribute participant through the <code>breakpointImportParticipant</code> extension point
- *
+ *
* Example contribution:
* <pre>
* <extension
@@ -28,20 +28,20 @@ import org.eclipse.debug.core.model.IBreakpointImportParticipant;
</ImportParticipant>
</extension>
* </pre>
- *
+ *
* @noextend This class is not intended to be sub-classed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
- *
+ *
* @since 3.5
*/
public class BreakpointImportParticipantDelegate {
-
+
/**
* The configuration element for this delegate
*/
private IConfigurationElement fElement = null;
private IBreakpointImportParticipant fParticipant = null;
-
+
/**
* Constructor
* @param element the element this proxy is created on
@@ -53,7 +53,7 @@ public class BreakpointImportParticipantDelegate {
/**
* Returns the {@link IBreakpointImportParticipant} delegate or <code>null</code> of there was
* a problem loading the delegate
- *
+ *
* @return the {@link IBreakpointImportParticipant} or <code>null</code>
* @throws CoreException if a problem is encountered
*/
@@ -66,7 +66,7 @@ public class BreakpointImportParticipantDelegate {
/**
* Returns the marker type this participant is registered for.
- *
+ *
* @return the marker type this participant is registered for
* @throws CoreException if a problem is encountered
*/
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java
index 34dbb7eee..2e225285e 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IConfigurationElementConstants.java
@@ -21,25 +21,25 @@ public interface IConfigurationElementConstants {
* <p>Equal to the word: <code>id</code></p>
*/
public static final String ID = "id"; //$NON-NLS-1$
-
+
/**
* The name node name for a configuration element.
* <p>Equal to the word: <code>name</code></p>
*/
public static final String NAME = "name"; //$NON-NLS-1$
-
+
/**
* The category node name for a configuration element.
* <p>Equal to the word: <code>category</code></p>
*/
public static final String CATEGORY = "category"; //$NON-NLS-1$
-
+
/**
* The local node name for a configuration element.
* <p>Equal to the word: <code>local</code></p>
*/
public static final String LOCAL = "local"; //$NON-NLS-1$
-
+
/**
* The shortcutId node name for a configuration element.
* <p>Equal to the word: <code>shortcutID</code></p>
@@ -51,273 +51,273 @@ public interface IConfigurationElementConstants {
* <p>Equal to the word: <code>launchPerspectives</code></p>
*/
public static final String LAUNCH_PERSPECTIVES = "launchPerspectives"; //$NON-NLS-1$
-
+
/**
* The launchPerspective node name for a configuration element.
* <p>Equal to the word: <code>launchPerspective</code></p>
*/
public static final String LAUNCH_PERSPECTIVE = "launchPerspective"; //$NON-NLS-1$
-
+
/**
* The markerType node name for a configuration element.
* <p>Equal to the word: <code>markerType</code></p>
- *
+ *
* @since 3.4
*/
public static final String MARKER_TYPE = "markerType"; //$NON-NLS-1$
-
+
/**
* The delegateClass node name for a configuration element.
* <p>Equal to the word: <code>delegateClass</code></p>
- *
+ *
* @since 3.4
*/
public static final String DELEGATE_CLASS = "delegateClass"; //$NON-NLS-1$
-
+
/**
* The launchConfiguration node name for a configuration element.
* <p>Equal to the word: <code>launchConfiguration</code></p>
*/
public static final String LAUNCH_CONFIGURATION = "launchConfiguration"; //$NON-NLS-1$
-
+
/**
* The launchMode node name for a configuration element.
* <p>Equal to the word: <code>launchMode</code></p>
*/
public static final String LAUNCH_MODE = "launchMode"; //$NON-NLS-1$
-
+
/**
* The lastLaunch node name for a configuration element.
* <p>Equal to the word: <code>lastLaunch</code></p>
*/
public static final String LAST_LAUNCH = "lastLaunch"; //$NON-NLS-1$
-
+
/**
* The launch node name for a configuration element.
* <p>Equal to the word: <code>launch</code></p>
*/
public static final String LAUNCH = "launch"; //$NON-NLS-1$
-
+
/**
* The launch as label node name for a configuration element.
* <p>Equal to the word: <code>launchAsLabel</code></p>
- *
+ *
* @since 3.4
*/
public static final String LAUNCH_AS_LABEL = "launchAsLabel"; //$NON-NLS-1$
-
+
/**
* The launchHistory node name for a configuration element.
* <p>Equal to the word: <code>launchHistory</code></p>
*/
public static final String LAUNCH_HISTORY = "launchHistory"; //$NON-NLS-1$
-
+
/**
* The node name for a launch group configuration element.
* <p>Equal to the word: <code>launchGroup</code></p>
*/
public static final String LAUNCH_GROUP = "launchGroup"; //$NON-NLS-1$
-
+
/**
* The node name for a launch history MRU list configuration element.
* <p>Equal to the word: <code>mruHistory</code></p>
*/
- public static final String MRU_HISTORY = "mruHistory"; //$NON-NLS-1$
-
+ public static final String MRU_HISTORY = "mruHistory"; //$NON-NLS-1$
+
/**
* The node name for a launch favorites list configuration element.
* <p>Equal to the word: <code>favorites</code></p>
*/
public static final String FAVORITES = "favorites"; //$NON-NLS-1$
-
+
/**
* The after node name for a configuration element.
* <p>Equal to the word: <code>after</code></p>
*/
public static final String AFTER = "after"; //$NON-NLS-1$
-
+
/**
* The path node name for a configuration element.
* <p>Equal to the word: <code>path</code></p>
*/
public static final String PATH = "path"; //$NON-NLS-1$
-
+
/**
* The placement node name for a configuration element.
* <p>Equal to the word: <code>placement</code></p>
*/
public static final String PLACEMENT = "placement"; //$NON-NLS-1$
-
+
/**
* The associated launch delegate node name for a configuration element
* <p>Equal to the word: <code>associatedDelegate</code></p>
*/
public static final String ASSOCIATED_DELEGATE = "associatedDelegate"; //$NON-NLS-1$
-
+
/**
* The label node name for a configuration element.
* <p>Equal to the word: <code>label</code></p>
*/
public static final String LABEL = "label"; //$NON-NLS-1$
-
+
/**
* The description node name for a configuration element.
* <p>Equal to the word: <code>description</code></p>
*/
public static final String DESCRIPTION = "description"; //$NON-NLS-1$
-
+
/**
* The helpContextId node name for a configuration element.
* <p>Equal to the word: <code>helpContextId</code></p>
*/
public static final String HELP_CONTEXT_ID = "helpContextId"; //$NON-NLS-1$
-
+
/**
* The icon node name for a configuration element.
* <p>Equal to the word: <code>icon</code></p>
*/
public static final String ICON = "icon"; //$NON-NLS-1$
-
+
/**
* The public node name for a configuration element
* <p>Equal to the word: <code>public</code></p>
*/
public static final String PUBLIC = "public"; //$NON-NLS-1$
-
+
/**
* The perspective node name for a configuration element.
* <p>Equal to the word: <code>perspective</code></p>
*/
public static final String PERSPECTIVE = "perspective"; //$NON-NLS-1$
-
+
/**
* The preferredDelegates node name for a configuration element.
* <p>Equal to the word: <code>preferredDelegates</code></p>
*/
public static final String PREFERRED_DELEGATES = "preferredDelegates"; //$NON-NLS-1$
-
+
/**
* The modes node name for a configuration element.
* <p>Equal to the word: <code>modes</code></p>
*/
public static final String MODES = "modes"; //$NON-NLS-1$
-
+
/**
* The modesCombination node name for a configuration element.
- * <p>Equal to the word: <code>modeCombination</code></p>
+ * <p>Equal to the word: <code>modeCombination</code></p>
*/
public static final String MODE_COMBINATION = "modeCombination"; //$NON-NLS-1$
-
+
/**
* The mode node name for a configuration element.
* <p>Equal to the word: <code>mode</code></p>
*/
public static final String MODE = "mode"; //$NON-NLS-1$
-
+
/**
* The type node name for a configuration element.
* <p>Equal to the word: <code>type</code></p>
*/
public static final String TYPE = "type"; //$NON-NLS-1$
-
+
/**
* The typeid node name for a configuration element.
- * <p>Equal to the word: <code>typeid</code></p>
+ * <p>Equal to the word: <code>typeid</code></p>
*/
public static final String TYPE_ID = "typeid"; //$NON-NLS-1$
-
+
/**
* The option node name for a configuration element.
* <p>Equal to the word: <code>options</code></p>
*/
public static final String OPTIONS = "options"; //$NON-NLS-1$
-
+
/**
* The delegate node name for a configuration element.
* <p>Equal to the word: <code>delegate</code></p>
*/
public static final String DELEGATE = "delegate"; //$NON-NLS-1$
-
+
/**
* The participant node name for a configuration element.
* <p>Equal to the word: <code>participant</code></p>
*/
public static final String PARTICIPANT = "participant"; //$NON-NLS-1$
-
+
/**
* The defaultShortcut node name for a configuration element.
* <p>Equal to the word: <code>defaultShortcut</code></p>
*/
public static final String DEFAULT_LAUNCH_SHORTCUT = "defaultShortcut"; //$NON-NLS-1$
-
+
/**
* The delegateName node name for a configuration element.
* <p>Equal to the word: <code>delegateName</code></p>
*/
public static final String DELEGATE_NAME = "delegateName"; //$NON-NLS-1$
-
+
/**
* The group node name for a configuration element.
* <p>Equal to the word: <code>group</code></p>
*/
public static final String GROUP = "group"; //$NON-NLS-1$
-
+
/**
* The class node name for a configuration element.
* <p>Equal to the word: <code>class</code></p>
*/
public static final String CLASS = "class"; //$NON-NLS-1$
-
+
/**
* The modelIdentifier node name for a configuration element.
* <p>Equal to the word: <code>modelIdentifier</code></p>
- *
+ *
* @since 3.4
*/
public static final String MODEL_IDENTIFIER = "modelIdentifier"; //$NON-NLS-1$
-
+
/**
* The configurationTypes node name for a configuration element.
* <p>Equal to the word: <code>configurationType</code></p>
*/
public static final String CONFIGURATION_TYPES = "configurationType"; //$NON-NLS-1$
-
+
/**
* The contextLabel node name for a configuration element.
* <p>Equal to the word: <code>contextLabel</code></p>
*/
public static final String CONTEXT_LABEL = "contextLabel"; //$NON-NLS-1$
-
+
/**
* The contextualLaunch node name for a configuration element.
* <p>Equal to the word: <code>contextualLaunch</code></p>
*/
public static final String CONTEXTUAL_LAUNCH = "contextualLaunch"; //$NON-NLS-1$
-
+
/**
* The sourcePathComputerId node name for a configuration element.
* <p>Equal to the word: <code>sourcePathComputerId</code></p>
*/
public static final String SOURCE_PATH_COMPUTER = "sourcePathComputerId"; //$NON-NLS-1$
-
+
/**
* The delegateDescription node name for a configuration element.
* <p>Equal to the word: <code>delegateDescription</code></p>
*/
public static final String DELEGATE_DESCRIPTION = "delegateDescription"; //$NON-NLS-1$
-
+
/**
* The sourceLocatorId node name for a configuration element.
* <p>Equal to the word: <code>sourceLocatorId</code></p>
*/
public static final String SOURCE_LOCATOR = "sourceLocatorId"; //$NON-NLS-1$
-
+
/**
* The migrationDelegate node name for a configuration element.
* <p>Equal to the word: <code>migrationDelegate</code></p>
*/
public static final String MIGRATION_DELEGATE = "migrationDelegate"; //$NON-NLS-1$
-
+
/**
* The memento node name for a configuration element.
* <p>Equal to the word: <code>memento</code></p>
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java
index be3ee7dd8..11c359de7 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IExpressionsListener2.java
@@ -26,20 +26,20 @@ public interface IExpressionsListener2 extends IExpressionsListener {
* <strong>must</strong> take into account the removal of the expressions to be removed.
* Therefore, for each of the expressions being moved with indices lower than the expect
* insertion index, the passed insertion index must be reduced by one.
- *
+ *
* @param expressions array of expressions to be moved
* @param index the index the expressions will be added to, adjusted for moved expressions
*/
public void expressionsMoved(IExpression[] expressions, int index);
-
+
/**
* Fires the model delta necessary to update the viewer after one or more
- * expressions have been inserted into a specific index in the tree. The
+ * expressions have been inserted into a specific index in the tree. The
* expression array must be in the same order as they were added.
- *
+ *
* @param expressions array of expressions to be moved
* @param index the index the expressions will be added to
*/
public void expressionsInserted(IExpression[] expressions, int index);
-
+
}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java
index 8fc33db5e..16239c423 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IInternalDebugCoreConstants.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -15,7 +15,7 @@ import org.eclipse.debug.core.DebugPlugin;
/**
* Contains constants to be used internally in all debug components
- *
+ *
* @since 3.4
*/
public interface IInternalDebugCoreConstants {
@@ -24,19 +24,19 @@ public interface IInternalDebugCoreConstants {
* Represents the empty string
*/
public static final String EMPTY_STRING = ""; //$NON-NLS-1$
-
+
/**
* Boolean preference controlling whether status handler extensions
* are enabled. Default value is <code>true</code>. When disabled
* any call to {@link DebugPlugin#getStatusHandler(IStatus)} will return <code>null</code>.
- *
+ *
* @since 3.4.2
*/
public static final String PREF_ENABLE_STATUS_HANDLERS = DebugPlugin.getUniqueIdentifier() + ".PREF_ENABLE_STATUS_HANDLERS"; //$NON-NLS-1$
/**
* Persistence of breakpoint manager enabled state.
- *
+ *
* @since 3.6
*/
public static final String PREF_BREAKPOINT_MANAGER_ENABLED_STATE = DebugPlugin.getUniqueIdentifier() + ".PREF_BREAKPOINT_MANAGER_ENABLED_STATE"; //$NON-NLS-1$
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java
index ed9f1e870..e0dfab43c 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/IMementoConstants.java
@@ -14,7 +14,7 @@ public interface IMementoConstants {
// These persistence constant is stored in XML. Do not
// change it.
public static final String TAG_FACTORY_ID = "factoryID"; //$NON-NLS-1$
-
+
public static final String TAG_EDITOR_STATE = "editorState"; //$NON-NLS-1$
public static final String MEMENTO_ITEM = "item"; //$NON-NLS-1$
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java
index b478b3107..cb551ece4 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/LogicalStructureProvider.java
@@ -21,13 +21,13 @@ import org.eclipse.debug.core.model.IValue;
/**
* Manage logical structure provider extensions
- *
+ *
* @see IConfigurationElementConstants
*/
public class LogicalStructureProvider {
private IConfigurationElement fConfigurationElement;
-
+
private String fModelIdentifier;
private ILogicalStructureProvider fDelegate;
@@ -43,11 +43,11 @@ public class LogicalStructureProvider {
throw new CoreException(new Status(IStatus.ERROR, DebugPlugin.getUniqueIdentifier(), DebugPlugin.ERROR, DebugCoreMessages.LogicalStructureProvider_1, null));
}
}
-
+
/**
* Return the logical structure type able to provide a logical structure for
* the given value.
- *
+ *
* @param value value for which structure types are requested
* @return logical structure types
*/
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/Preferences.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/Preferences.java
index e79766c83..1e7995c8b 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/Preferences.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/Preferences.java
@@ -21,24 +21,24 @@ import org.eclipse.debug.core.DebugPlugin;
/**
* Convenience class to facilitate using the new {@link IEclipsePreferences} story
- *
+ *
* @since 3.6
* @noinstantiate This class is not intended to be instantiated by clients.
*/
public final class Preferences {
static final IScopeContext[] contexts= new IScopeContext[] { DefaultScope.INSTANCE, InstanceScope.INSTANCE };
-
+
static final int DEFAULT_CONTEXT = 0;
static final int INSTANCE_CONTEXT = 1;
-
+
/**
* Constructor
*/
private Preferences() {
// no direct instantiation
}
-
+
/**
* Sets a string preference in the {@link InstanceScope} or the given {@link IScopeContext} if it
* is not <code>null</code>. Preferences set in a given context are flushed as they are set.
@@ -62,14 +62,14 @@ public final class Preferences {
contexts[INSTANCE_CONTEXT].getNode(qualifier).put(key, value);
}
}
-
+
/**
* Sets a boolean preference in the {@link InstanceScope} or the given {@link IScopeContext} if it
* is not <code>null</code>. Preferences set in a given context are flushed as they are set.
* @param qualifier the preference qualifier
* @param key the key
* @param value the value
- * @param context the context to set the value in
+ * @param context the context to set the value in
*/
public static synchronized void setBoolean(String qualifier, String key, boolean value, IScopeContext context) {
if(context != null) {
@@ -86,7 +86,7 @@ public final class Preferences {
contexts[INSTANCE_CONTEXT].getNode(qualifier).putBoolean(key, value);
}
}
-
+
/**
* Sets a integer preference in the {@link InstanceScope} or the given {@link IScopeContext} if it
* is not <code>null</code>. Preferences set in a given context are flushed as they are set.
@@ -110,7 +110,7 @@ public final class Preferences {
contexts[INSTANCE_CONTEXT].getNode(qualifier).putInt(key, value);
}
}
-
+
/**
* Sets a long preference in the {@link InstanceScope} or the given {@link IScopeContext} if it
* is not <code>null</code>. Preferences set in a given context are flushed as they are set.
@@ -134,7 +134,7 @@ public final class Preferences {
contexts[INSTANCE_CONTEXT].getNode(qualifier).putLong(key, value);
}
}
-
+
/**
* Sets a byte array preference in the {@link InstanceScope} or the given {@link IScopeContext} if it
* is not <code>null</code>. Preferences set in a given context are flushed as they are set.
@@ -158,7 +158,7 @@ public final class Preferences {
contexts[INSTANCE_CONTEXT].getNode(qualifier).putByteArray(key, value);
}
}
-
+
/**
* Sets a double preference in the {@link InstanceScope} or the given {@link IScopeContext} if it
* is not <code>null</code>. Preferences set in a given context are flushed as they are set.
@@ -182,7 +182,7 @@ public final class Preferences {
contexts[INSTANCE_CONTEXT].getNode(qualifier).putDouble(key, value);
}
}
-
+
/**
* Sets a float preference in the {@link InstanceScope} or the given {@link IScopeContext} if it
* is not <code>null</code>. Preferences set in a given context are flushed as they are set.
@@ -206,7 +206,7 @@ public final class Preferences {
contexts[INSTANCE_CONTEXT].getNode(qualifier).putFloat(key, value);
}
}
-
+
/**
* Sets a string in the {@link DefaultScope}
* @param qualifier the preference qualifier
@@ -216,7 +216,7 @@ public final class Preferences {
public static synchronized void setDefaultString(String qualifier, String key, String value) {
contexts[DEFAULT_CONTEXT].getNode(qualifier).put(key, value);
}
-
+
/**
* Sets a boolean in the {@link DefaultScope}
* @param qualifier the preference qualifier
@@ -226,7 +226,7 @@ public final class Preferences {
public static synchronized void setDefaultBoolean(String qualifier, String key, boolean value) {
contexts[DEFAULT_CONTEXT].getNode(qualifier).putBoolean(key, value);
}
-
+
/**
* Sets a byte array in the {@link DefaultScope}
* @param qualifier the preference qualifier
@@ -236,7 +236,7 @@ public final class Preferences {
public static synchronized void setDefaultByteArray(String qualifier, String key, byte[] value) {
contexts[DEFAULT_CONTEXT].getNode(qualifier).putByteArray(key, value);
}
-
+
/**
* Sets a double in the {@link DefaultScope}
* @param qualifier the preference qualifier
@@ -246,7 +246,7 @@ public final class Preferences {
public static synchronized void setDefaultDouble(String qualifier, String key, double value) {
contexts[DEFAULT_CONTEXT].getNode(qualifier).putDouble(key, value);
}
-
+
/**
* Sets a float in the {@link DefaultScope}
* @param qualifier the preference qualifier
@@ -256,7 +256,7 @@ public final class Preferences {
public static synchronized void setDefaultFloat(String qualifier, String key, float value) {
contexts[DEFAULT_CONTEXT].getNode(qualifier).putFloat(key, value);
}
-
+
/**
* Sets a integer in the {@link DefaultScope}
* @param qualifier the preference qualifier
@@ -266,7 +266,7 @@ public final class Preferences {
public static synchronized void setDefaultInt(String qualifier, String key, int value) {
contexts[DEFAULT_CONTEXT].getNode(qualifier).putInt(key, value);
}
-
+
/**
* Sets a long in the {@link DefaultScope}
* @param qualifier the preference qualifier
@@ -276,7 +276,7 @@ public final class Preferences {
public static synchronized void setDefaultLong(String qualifier, String key, long value) {
contexts[DEFAULT_CONTEXT].getNode(qualifier).putLong(key, value);
}
-
+
/**
* Sets the given preference to its default value. This is done by removing any set value
* from the {@link InstanceScope}. Has no effect if the given key is <code>null</code>.
@@ -288,98 +288,98 @@ public final class Preferences {
contexts[INSTANCE_CONTEXT].getNode(qualifier).remove(key);
}
}
-
+
/**
* Returns the default boolean value stored in the {@link DefaultScope} for the given key
* or the specified default value if the key does not appear in the {@link DefaultScope}
* @param qualifier the preference qualifier
* @param key the preference key
* @param defaultvalue the default value
- *
+ *
* @return the boolean value set in the {@link DefaultScope} for the given key, or the specified default value.
*/
public static synchronized boolean getDefaultBoolean(String qualifier, String key, boolean defaultvalue) {
return contexts[DEFAULT_CONTEXT].getNode(qualifier).getBoolean(key, defaultvalue);
}
-
+
/**
* Returns the default string value stored in the {@link DefaultScope} for the given key
* or the specified default value if the key does not appear in the {@link DefaultScope}
* @param qualifier the preference qualifier
* @param key the preference key
* @param defaultvalue the default value
- *
+ *
* @return the string value set in the {@link DefaultScope} for the given key, or the specified default value.
*/
public static synchronized String getDefaultString(String qualifier, String key, String defaultvalue) {
return contexts[DEFAULT_CONTEXT].getNode(qualifier).get(key, defaultvalue);
}
-
+
/**
* Returns the default byte array value stored in the {@link DefaultScope} for the given key
* or the specified default value if the key does not appear in the {@link DefaultScope}
* @param qualifier the preference qualifier
* @param key the preference key
* @param defaultvalue the default value
- *
+ *
* @return the byte array value set in the {@link DefaultScope} for the given key, or the specified default value.
*/
public static synchronized byte[] getDefaultByteArray(String qualifier, String key, byte[] defaultvalue) {
return contexts[DEFAULT_CONTEXT].getNode(qualifier).getByteArray(key, defaultvalue);
}
-
+
/**
* Returns the default integer value stored in the {@link DefaultScope} for the given key
* or the specified default value if the key does not appear in the {@link DefaultScope}
* @param qualifier the preference qualifier
* @param key the preference key
* @param defaultvalue the default value
- *
+ *
* @return the integer value set in the {@link DefaultScope} for the given key, or the specified default value.
*/
public static synchronized int getDefaultInt(String qualifier, String key, int defaultvalue) {
return contexts[DEFAULT_CONTEXT].getNode(qualifier).getInt(key, defaultvalue);
}
-
+
/**
* Returns the default long value stored in the {@link DefaultScope} for the given key
* or the specified default value if the key does not appear in the {@link DefaultScope}
* @param qualifier the preference qualifier
* @param key the preference key
* @param defaultvalue the default value
- *
+ *
* @return the long value set in the {@link DefaultScope} for the given key, or the specified default value.
*/
public static synchronized long getDefaultLong(String qualifier, String key, long defaultvalue) {
return contexts[DEFAULT_CONTEXT].getNode(qualifier).getLong(key, defaultvalue);
}
-
+
/**
* Returns the default double value stored in the {@link DefaultScope} for the given key
* or the specified default value if the key does not appear in the {@link DefaultScope}
* @param qualifier the preference qualifier
* @param key the preference key
* @param defaultvalue the default value
- *
+ *
* @return the double value set in the {@link DefaultScope} for the given key, or the specified default value.
*/
public static synchronized double getDefaultDouble(String qualifier, String key, double defaultvalue) {
return contexts[DEFAULT_CONTEXT].getNode(qualifier).getDouble(key, defaultvalue);
}
-
+
/**
* Returns the default float value stored in the {@link DefaultScope} for the given key
* or the specified default value if the key does not appear in the {@link DefaultScope}
* @param qualifier the preference qualifier
* @param key the preference key
* @param defaultvalue the default value
- *
+ *
* @return the float value set in the {@link DefaultScope} for the given key, or the specified default value.
*/
public static synchronized float getDefaultFloat(String qualifier, String key, float defaultvalue) {
return contexts[DEFAULT_CONTEXT].getNode(qualifier).getFloat(key, defaultvalue);
}
-
+
/**
* Save the preferences for the given plug-in identifier.
* It should be noted that all pending preference changes will be flushed with this method.
@@ -394,7 +394,7 @@ public final class Preferences {
DebugPlugin.log(bse);
}
}
-
+
/**
* Adds the given preference listener to the {@link DefaultScope} and the {@link InstanceScope}
* @param qualifier the preference qualifier
@@ -404,7 +404,7 @@ public final class Preferences {
contexts[DEFAULT_CONTEXT].getNode(qualifier).addPreferenceChangeListener(listener);
contexts[INSTANCE_CONTEXT].getNode(qualifier).addPreferenceChangeListener(listener);
}
-
+
/**
* Removes the given preference listener from the {@link DefaultScope} and the {@link InstanceScope}
* @param qualifier the preference qualifier
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/PreferredDelegateModifyListener.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/PreferredDelegateModifyListener.java
index 3a9fe1ba0..8b41847a2 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/PreferredDelegateModifyListener.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/PreferredDelegateModifyListener.java
@@ -20,7 +20,7 @@ import org.osgi.service.prefs.BackingStoreException;
/**
* Used to listen for preference imports that include changes to preferred
* launch delegates.
- *
+ *
* @since 3.6 TODO can we roll this into general preference listening?
*/
public class PreferredDelegateModifyListener extends PreferenceModifyListener {
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ResourceFactory.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ResourceFactory.java
index 789cdd96a..d15558924 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ResourceFactory.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/ResourceFactory.java
@@ -32,7 +32,7 @@ public class ResourceFactory {
/**
* Creates and returns an element based on the given memento
- *
+ *
* @param memento element memento
* @return associated element
*/
@@ -47,7 +47,7 @@ public class ResourceFactory {
String type = memento.getString(TAG_TYPE);
IResource res = null;
if (type == null) {
- // Old format memento. Create an IResource using findMember.
+ // Old format memento. Create an IResource using findMember.
// Will return null for resources in closed projects.
res = root.findMember(new Path(fileName));
} else {
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceLocatorMementoComparator.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceLocatorMementoComparator.java
index 3e366e2f3..f02373235 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceLocatorMementoComparator.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourceLocatorMementoComparator.java
@@ -14,7 +14,7 @@ import java.util.Comparator;
/**
* Comparator for source locator mementos. Ignores whitespace differences.
- *
+ *
* @since 3.0
*/
public class SourceLocatorMementoComparator implements Comparator<String> {
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourcePathComputer.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourcePathComputer.java
index 996d14287..d9731c04c 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourcePathComputer.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/sourcelookup/SourcePathComputer.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -22,20 +22,20 @@ import org.eclipse.debug.internal.core.IConfigurationElementConstants;
/**
* Proxy to contributed source path computer extension.
- *
+ *
* @see IConfigurationElementConstants
*/
public class SourcePathComputer implements ISourcePathComputer {
-
+
// lazily instantiated delegate
private ISourcePathComputerDelegate fDelegate = null;
-
+
// extension definition
private IConfigurationElement fElement = null;
-
+
/**
* Constructs a source path computer on the given extension.
- *
+ *
* @param element extension definition
*/
public SourcePathComputer(IConfigurationElement element) {
@@ -47,9 +47,9 @@ public class SourcePathComputer implements ISourcePathComputer {
*/
@Override
public String getId() {
- return fElement.getAttribute(IConfigurationElementConstants.ID);
+ return fElement.getAttribute(IConfigurationElementConstants.ID);
}
-
+
/**
* Lazily instantiates and returns the underlying source container type.
* @return the {@link ISourcePathComputerDelegate}
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/variables/Messages.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/variables/Messages.java
index 5a3c4e08c..edc2babb7 100644
--- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/variables/Messages.java
+++ b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/variables/Messages.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/

Back to the top