Skip to content

Commit 719e6bd

Browse files
jbamptonmerks
authored andcommitted
misc: fix typos
General spelling clean up
1 parent e0d1ad9 commit 719e6bd

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

bundles/org.eclipse.core.databinding/src/org/eclipse/core/internal/databinding/conversion/NumberToNumberConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public final T convert(Object fromObject) {
8080
/**
8181
* Invoked when the number should converted.
8282
*
83-
* @return number if conversion was successfule, <code>null</code> if the
83+
* @return number if conversion was successful, <code>null</code> if the
8484
* number was out of range
8585
*/
8686
protected abstract T doConvert(Number number);

bundles/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/DefaultWordHighlightStrategy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
/**
4848
*
49-
* This Reconciler Strategy is a default stategy which will be present if no other highlightReconcilers are registered for a given content-type. It splits the text into 'words' (which are defined as
49+
* This Reconciler Strategy is a default strategy which will be present if no other highlightReconcilers are registered for a given content-type. It splits the text into 'words' (which are defined as
5050
* anything in-between non-alphanumeric characters) and searches the document highlighting all like words.
5151
*
5252
* E.g. if your file contains "t^he dog in the bog" and you leave your caret at ^ you will get both instances of 'the' highlighted.

bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/NewActionProvider.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
* <ul>
4747
* <li>a new generic project wizard shortcut action, </li>
4848
* <li>a separator, </li>
49-
* <li>a set of context senstive wizard shortcuts (as defined by
49+
* <li>a set of context sensitive wizard shortcuts (as defined by
5050
* <b>org.eclipse.ui.navigator.commonWizard</b>), </li>
5151
* <li>another separator, </li>
5252
* <li>a generic examples wizard shortcut action, and finally </li>
@@ -100,10 +100,10 @@ public void init(ICommonActionExtensionSite anExtensionSite) {
100100
*
101101
* <ul>
102102
* <li>a new generic project wizard shortcut action, </li>
103-
* <li>a set of context senstive wizard shortcuts (as defined by
103+
* <li>a set of context sensitive wizard shortcuts (as defined by
104104
* <b>org.eclipse.ui.navigator.commonWizard</b>) that are marked as project wizards, </li>
105105
* <li>a separator, </li>
106-
* <li>a set of context senstive wizard shortcuts (as defined by
106+
* <li>a set of context sensitive wizard shortcuts (as defined by
107107
* <b>org.eclipse.ui.navigator.commonWizard</b>) that are not marked as project wizards, </li>
108108
* <li>another separator, </li>
109109
* <li>a generic examples wizard shortcut action, and finally </li>

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/WindowsDefenderConfigurator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ private static List<String> runProcess(List<String> command, IProgressMonitor mo
392392
if (process.isAlive()) {
393393
process.destroyForcibly();
394394
process.descendants().forEach(ProcessHandle::destroyForcibly);
395-
throw new IOException("Process timed-out and it was attempted to forcefully termiante it"); //$NON-NLS-1$
395+
throw new IOException("Process timed-out and it was attempted to forcefully terminate it"); //$NON-NLS-1$
396396
} else if (process.exitValue() != 0) {
397397
throw new IOException("Process failed with exit-code " + process.exitValue()); //$NON-NLS-1$
398398
}

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/registry/EditorRegistry.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ private void setProductDefaults(String defaultEditors) {
681681
* Read the editors defined in the preferences store.
682682
*
683683
* @param editorTable Editor table to store the editor definitions.
684-
* @return true if the table is built succesfully.
684+
* @return true if the table is built successfully.
685685
*/
686686
private boolean readEditors(Map<String, IEditorDescriptor> editorTable) {
687687
// Get the workbench plugin's working directory
@@ -863,7 +863,7 @@ private boolean contains(List<IEditorDescriptor> editors, IEditorDescriptor edit
863863
* store.
864864
*
865865
* @param editorTable The editor table containing the defined editors.
866-
* @return true if the resources are read succesfully.
866+
* @return true if the resources are read successfully.
867867
*/
868868
private boolean readResources(Map<String, IEditorDescriptor> editorTable) {
869869
// Get the workbench plugin's working directory

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/wizards/preferences/WizardPreferencesImportPage1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ protected String getDestinationLabel() {
147147
}
148148

149149
/**
150-
* @return <code>true</code> if the transfer was succesful, and
150+
* @return <code>true</code> if the transfer was successful, and
151151
* <code>false</code> otherwise
152152
*/
153153
@Override

docs/Menu_Contributions/Radio_Button_Command.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ It may happen that your radio menu contributions are not initialized the first t
256256
command.isEnabled();
257257
return new Status(IStatus.OK,
258258
"my.plugin.id",
259-
"Init commands workaround performed succesfully");
259+
"Init commands workaround performed successfully");
260260
}
261261
 
262262
};

examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/viewers/Snippet060TextCellEditorWithContentProposal.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ protected boolean isEditorActivationEvent(ColumnViewerEditorActivationEvent even
195195

196196
/*
197197
* Without focus highlighter, keyboard events will not be delivered to
198-
* ColumnViewerEditorActivationStragety#isEditorActivationEvent(...) (see above)
198+
* ColumnViewerEditorActivationStrategy#isEditorActivationEvent(...) (see above)
199199
*/
200200
FocusCellHighlighter focusCellHighlighter = new FocusCellOwnerDrawHighlighter(viewer);
201201
TableViewerFocusCellManager focusCellManager = new TableViewerFocusCellManager(viewer, focusCellHighlighter);

examples/org.eclipse.ui.examples.iconpack/README.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ what would only match this single bundle. If an icon has to be replaced in multi
3434
2. Then one needs to find the icon to replace in this case it is `icons/full/etool16/save_edit.png`, as before we could use an exact match or we can use a more
3535
generic form to possibly match multiple path. In the example we use `icons/.*/save_edit.png`, please note that you even can replace a gif file by a png or whatever
3636
fileformat fits your needs. The code will still see the old name so this might still be used with care if the caller maybe make decisions based on the extension!
37-
3. Of course we need our replacement resource that will be used and we put it in as the last instruction as we are using the default replace tranformer that just keeps
37+
3. Of course we need our replacement resource that will be used and we put it in as the last instruction as we are using the default replace transformer that just keeps
3838
the provided resource as a replacement for the original.
3939

4040
The full line then looks like this:

tests/org.eclipse.text.tests/src/org/eclipse/text/tests/TextEditTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1284,7 +1284,7 @@ public ReplaceEdit[] getModifications(String source) {
12841284

12851285
// Regression test for 108672 [quick fix] Exception when applying Convert to enhanced for loop
12861286
@Test
1287-
public void testSourceTranformationMultipleCovers() throws Exception {
1287+
public void testSourceTransformationMultipleCovers() throws Exception {
12881288
MoveSourceEdit ms= new MoveSourceEdit(2, 4);
12891289
MoveTargetEdit mt= new MoveTargetEdit(9, ms);
12901290
fRoot.addChild(ms);
@@ -1314,7 +1314,7 @@ public ReplaceEdit[] getModifications(String source) {
13141314
}
13151315

13161316
@Test
1317-
public void testSourceTranformationSplit1() throws Exception {
1317+
public void testSourceTransformationSplit1() throws Exception {
13181318
MoveSourceEdit ms= new MoveSourceEdit(2, 4);
13191319
MoveTargetEdit mt= new MoveTargetEdit(9, ms);
13201320
fRoot.addChild(ms);
@@ -1338,7 +1338,7 @@ public ReplaceEdit[] getModifications(String source) {
13381338
}
13391339

13401340
@Test
1341-
public void testSourceTranformationSplit2() throws Exception {
1341+
public void testSourceTransformationSplit2() throws Exception {
13421342
MoveSourceEdit ms= new MoveSourceEdit(2, 4);
13431343
MoveTargetEdit mt= new MoveTargetEdit(9, ms);
13441344
fRoot.addChild(ms);

0 commit comments

Comments
 (0)