diff options
author | Michael Rennie | 2010-12-13 15:43:36 +0000 |
---|---|---|
committer | Michael Rennie | 2010-12-13 15:43:36 +0000 |
commit | eaa81da95e564d3a6ab443c1e4fdc8ec7fda75e2 (patch) | |
tree | 3a07ae59bb8063c8388032fc0101019ce72a3f43 | |
parent | 213fff67cef509575e22acfaa6d7575a65ce5aad (diff) | |
download | eclipse.platform.debug-eaa81da95e564d3a6ab443c1e4fdc8ec7fda75e2.tar.gz eclipse.platform.debug-eaa81da95e564d3a6ab443c1e4fdc8ec7fda75e2.tar.xz eclipse.platform.debug-eaa81da95e564d3a6ab443c1e4fdc8ec7fda75e2.zip |
Bug 317975 - Fix for wrong usages of affect* and effect*
11 files changed, 22 insertions, 21 deletions
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 4b25138d0..ba4e1694b 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 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -12,7 +12,7 @@ package org.eclipse.core.variables; /** * A variable with a value that can be set and retrieved. The context in which - * a value variable is referenced does not effect the value of the variable. + * a value variable is referenced does not affect the value of the variable. * A value variable can be contributed by an extension or created programmatically. * A contributor may optionally specify an initial value for a variable, or * provide a delegate that will initialize the variable with a value. diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfiguration.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfiguration.java index 811a89f6a..b6df8537e 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfiguration.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/ILaunchConfiguration.java @@ -1,5 +1,5 @@ /*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -106,7 +106,7 @@ public interface ILaunchConfiguration extends IAdaptable { * working copy does not refer back to this configuration
* as its original launch configuration (the working copy
* will return <code>null</code> for <code>getOriginal()</code>).
- * When the working copy is saved it will not effect this
+ * When the working copy is saved it will not affect this
* launch configuration.
*
* @param name the name of the copy
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/ShowTypesAction.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/ShowTypesAction.java index b62df1001..9aaa80473 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/ShowTypesAction.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/actions/variables/ShowTypesAction.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -31,7 +31,7 @@ import org.eclipse.ui.PlatformUI; * An action that toggles the state of a viewer to * show/hide type names of variables. * Only viewers that use a <code>VariableLabelProvider</code> to render its - * elements are effected. + * elements are affected. */ public class ShowTypesAction extends Action { diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalTreeModelViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalTreeModelViewer.java index 5fd9cf229..c44e04c9e 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalTreeModelViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalTreeModelViewer.java @@ -1325,7 +1325,7 @@ public class InternalTreeModelViewer extends TreeViewer /** * Sets the id's of visible columns, or <code>null</code> to set default columns. - * Only effects the current column presentation. + * Only affects the current column presentation. * * @param ids visible columns */ diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalVirtualTreeModelViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalVirtualTreeModelViewer.java index 004896d68..301bc3840 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalVirtualTreeModelViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/InternalVirtualTreeModelViewer.java @@ -1127,7 +1127,7 @@ public class InternalVirtualTreeModelViewer extends Viewer /** * Sets the id's of visible columns, or <code>null</code> to set default columns. - * Only effects the current column presentation. + * Only affects the current column presentation. * * @param ids visible columns */ diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/TreeModelViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/TreeModelViewer.java index 15d19952d..af173fea2 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/TreeModelViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/TreeModelViewer.java @@ -164,7 +164,7 @@ public class TreeModelViewer extends InternalTreeModelViewer { * Sets the visible columns for this viewer. Id's correspond to * column identifiers from a column presentation. Use <code>null</code> * or an empty collection to display default columns for the current - * column presentation. Only effects the current column presentation. + * column presentation. Only affects the current column presentation. * * @param ids column identifiers or <code>null</code> */ diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/VirtualTreeModelViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/VirtualTreeModelViewer.java index 3134ab2ac..7db158ddb 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/VirtualTreeModelViewer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/viewers/model/provisional/VirtualTreeModelViewer.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008 Wind River Systems and others. + * Copyright (c) 2008, 2010 Wind River Systems and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ * * Contributors: * Wind River Systems - initial API and implementation + * IBM Corporation - initial API and implementation *******************************************************************************/ package org.eclipse.debug.internal.ui.viewers.model.provisional; @@ -156,7 +157,7 @@ public class VirtualTreeModelViewer extends InternalVirtualTreeModelViewer { * Sets the visible columns for this viewer. Id's correspond to * column identifiers from a column presentation. Use <code>null</code> * or an empty collection to display default columns for the current - * column presentation. Only effects the current column presentation. + * column presentation. Only affects the current column presentation. * * @param ids column identifiers or <code>null</code> */ diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointContainer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointContainer.java index 81bd9bff8..53fd62214 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointContainer.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/breakpoints/BreakpointContainer.java @@ -306,7 +306,7 @@ public class BreakpointContainer extends ElementContentProvider implements IAdap } else { // TODO [pchuong]: There seems to be some kind of problem when the INSERTED flag is used, // there is a additional checkbox added to the end of the tree. - // Also the tree seems to have a strange visual affect when using the INSERTED + // Also the tree seems to have a strange visual effect when using the INSERTED // flag for the child node instead of ADDED flag. Note: all breakpoint delta // is using the ADDED flag in this class. rootDelta.addNode(breakpoint, bpIndex, IModelDelta.ADDED|IModelDelta.INSTALL, 0); diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java index 4d2c196fb..7ec9714f3 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/DebugUITools.java @@ -572,13 +572,13 @@ public class DebugUITools { * Saves all dirty editors and builds the workspace according to current * preference settings, and returns whether a launch should proceed. * <p> - * The following preferences effect whether dirty editors are saved, + * The following preferences affect whether dirty editors are saved, * and/or if the user is prompted to save dirty editors:<ul> * <li>PREF_NEVER_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH</li> * <li>PREF_PROMPT_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH</li> * <li>PREF_AUTOSAVE_DIRTY_EDITORS_BEFORE_LAUNCH</li> * </ul> - * The following preference effects whether a build is performed before + * The following preference affects whether a build is performed before * launching (if required):<ul> * <li>PREF_BUILD_BEFORE_LAUNCH</li> * </ul> @@ -597,7 +597,7 @@ public class DebugUITools { * Saves all dirty editors according to current * preference settings, and returns whether a launch should proceed. * <p> - * The following preferences effect whether dirty editors are saved, + * The following preferences affect whether dirty editors are saved, * and/or if the user is prompted to save dirty editors:<ul> * <li>PREF_NEVER_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH</li> * <li>PREF_PROMPT_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH</li> @@ -645,7 +645,7 @@ public class DebugUITools { * the given configuration in the specified mode, returning the resulting launch * object. * <p> - * The following preference effects whether a build is performed before + * The following preference affects whether a build is performed before * launching (if required):<ul> * <li>PREF_BUILD_BEFORE_LAUNCH</li> * </ul> diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDetailPane3.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDetailPane3.java index fd299c9c4..ae16374da 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDetailPane3.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/IDetailPane3.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009 IBM Corporation and others. + * Copyright (c) 2009, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -38,7 +38,7 @@ public interface IDetailPane3 extends IDetailPane, ISaveablePart { /** * Removes the given property listener from this workbench part. - * Has no affect if an identical listener is not registered. + * Has no effect if an identical listener is not registered. * * @param listener a property listener */ diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingBindingsProvider.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingBindingsProvider.java index 68455f34e..e70659f32 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingBindingsProvider.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/memory/IMemoryRenderingBindingsProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2004, 2006 IBM Corporation and others. + * Copyright (c) 2004, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -62,7 +62,7 @@ public interface IMemoryRenderingBindingsProvider { * Adds a listener to this binding provider. The listener will be notified * when rendering bindings change. * <p> - * Has no affect if an identical listener is already registered. + * Has no effect if an identical listener is already registered. * </p> * @param listener listener to add */ @@ -71,7 +71,7 @@ public interface IMemoryRenderingBindingsProvider { /** * Removes a listener from this binding provider. * <p> - * Has no affect if an identical listener is not already registered. + * Has no effect if an identical listener is not already registered. * </p> * @param listener listener to remove */ |