Skip to content

Commit fbad80e

Browse files
deepika-uelsazac
authored andcommitted
Fixed javadoc errors.
1 parent 7d6a808 commit fbad80e

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/AbstractParameterValueConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* <p>
3131
* This class will typically be extended so the subclass can be referenced from
3232
* the <code>converter</code> attribute of the
33-
* <code>commandParameterType</code> elemement of the
33+
* <code>commandParameterType</code> element of the
3434
* <code>org.eclipse.ui.commands</code> extension-point. Objects implementing
3535
* this interface may also be passed directly to
3636
* {@link ParameterType#define(String, AbstractParameterValueConverter)} by

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/Command.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
* defined if it is declared in the XML of a resolved plug-in. If the plug-in is
4343
* unloaded or the command is simply not declared, then it is undefined. Trying
4444
* to reference an undefined command will succeed, but trying to access any of
45-
* its functionality will fail with a <code>NotDefinedException</code>. If
46-
* you need to know when a command changes from defined to undefined (or vice
45+
* its functionality will fail with a <code>NotDefinedException</code>. If you
46+
* need to know when a command changes from defined to undefined (or vice
4747
* versa), then attach a command listener.
4848
* </p>
4949
* <p>

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/CommandEvent.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -172,26 +172,26 @@ public CommandEvent(final Command command, final boolean categoryChanged,
172172
* @param command
173173
* the instance of the interface that changed.
174174
* @param categoryChanged
175-
* <code>true</code>, iff the category property changed.
175+
* <code>true</code>, if the category property changed.
176176
* @param definedChanged
177-
* <code>true</code>, iff the defined property changed.
177+
* <code>true</code>, if the defined property changed.
178178
* @param descriptionChanged
179-
* <code>true</code>, iff the description property changed.
179+
* <code>true</code>, if the description property changed.
180180
* @param handledChanged
181-
* <code>true</code>, iff the handled property changed.
181+
* <code>true</code>, if the handled property changed.
182182
* @param nameChanged
183-
* <code>true</code>, iff the name property changed.
183+
* <code>true</code>, if the name property changed.
184184
* @param parametersChanged
185185
* <code>true</code> if the parameters have changed;
186186
* <code>false</code> otherwise.
187187
* @param returnTypeChanged
188-
* <code>true</code> iff the return type property changed;
188+
* <code>true</code> if the return type property changed;
189189
* <code>false</code> otherwise.
190190
* @param helpContextIdChanged
191-
* <code>true</code> iff the help context identifier changed;
191+
* <code>true</code> if the help context identifier changed;
192192
* <code>false</code> otherwise.
193193
* @param enabledChanged
194-
* <code>true</code> iff the comand enablement changed;
194+
* <code>true</code> if the command enablement changed;
195195
* <code>false</code> otherwise.
196196
* @since 3.3
197197
*/
@@ -287,7 +287,7 @@ public final boolean isReturnTypeChanged() {
287287
/**
288288
* Return whether the enable property changed.
289289
*
290-
* @return <code>true</code> iff the comand enablement changed
290+
* @return <code>true</code> if the command enablement changed
291291
* @since 3.3
292292
*/
293293
public final boolean isEnabledChanged() {

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/ParameterizedCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public boolean equals(final Object object) {
434434
/**
435435
* Executes this command with its parameters. This method will succeed
436436
* regardless of whether the command is enabled or defined. It is
437-
* preferrable to use {@link #executeWithChecks(Object, Object)}.
437+
* preferable to use {@link #executeWithChecks(Object, Object)}.
438438
*
439439
* @param trigger
440440
* The object that triggered the execution; may be

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public abstract class NamedHandleObject extends HandleObject {
2929
protected String description = null;
3030

3131
/**
32-
* The name of this handle. This valud should not be <code>null</code>
32+
* The name of this handle. This value should not be <code>null</code>
3333
* unless the handle is undefined.
3434
*/
3535
protected String name = null;

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/common/NamedHandleObjectComparator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class NamedHandleObjectComparator implements Comparator {
3232
* useful is they are display to an end user.
3333
*
3434
* @param left
35-
* The first obect to compare; may be <code>null</code>.
35+
* The first object to compare; may be <code>null</code>.
3636
* @param right
3737
* The second object to compare; may be <code>null</code>.
3838
* @return <code>-1</code> if <code>left</code> is <code>null</code>

bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/IAdvancedUndoableOperation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public interface IAdvancedUndoableOperation {
8989
* @return the IStatus indicating the validity of the undo. The status
9090
* severity should be set to <code>OK</code> if the undo can
9191
* successfully be performed, and <code>ERROR</code> if it
92-
* cannnot. Any other status is assumed to represent an ambiguous
92+
* cannot. Any other status is assumed to represent an ambiguous
9393
* state.
9494
* @throws ExecutionException
9595
* if an exception occurs while computing the validity.
@@ -119,7 +119,7 @@ IStatus computeUndoableStatus(IProgressMonitor monitor)
119119
* @return the IStatus indicating the validity of the redo. The status
120120
* severity should be set to <code>OK</code> if the redo can
121121
* successfully be performed, and <code>ERROR</code> if it
122-
* cannnot. Any other status is assumed to represent an ambiguous
122+
* cannot. Any other status is assumed to represent an ambiguous
123123
* state.
124124
* @throws ExecutionException
125125
* if an exception occurs while computing the validity.

0 commit comments

Comments
 (0)