Skip to content

Commit 7d6a808

Browse files
elsazacakurtakov
authored andcommitted
Fix Javadoc errors
1 parent b431a28 commit 7d6a808

File tree

6 files changed

+20
-23
lines changed

6 files changed

+20
-23
lines changed

bundles/org.eclipse.e4.ui.progress/src/org/eclipse/e4/ui/progress/internal/ProgressServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ private void setUserInterfaceActive(boolean active) {
302302
}
303303
}
304304
} else {
305-
// Deactive shells in reverse order
305+
// Deactivate shells in reverse order
306306
for (int i = shells.length - 1; i >= 0; i--) {
307307
if (!shells[i].isDisposed()) {
308308
shells[i].setEnabled(active);

bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/ContentViewer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public void setContentProvider(IContentProvider contentProvider) {
256256
* The <code>ContentViewer</code> implementation of this <code>Viewer</code>
257257
* method invokes <code>inputChanged</code> on the content provider and then the
258258
* <code>inputChanged</code> hook method. This method fails if this viewer does
259-
* not have a content provider. Subclassers are advised to override
259+
* not have a content provider. Subclasses are advised to override
260260
* <code>inputChanged</code> rather than this method, but may extend this method
261261
* if required.
262262
*/

bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/StructuredViewer.java

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1852,8 +1852,8 @@ public Widget[] testFindItems(Object element) {
18521852
/**
18531853
* Removes all elements from the map.
18541854
* <p>
1855-
* This method is internal to the framework; subclassers should not call
1856-
* this method.
1855+
* This method is internal to the framework; subclasses should not call this
1856+
* method.
18571857
* </p>
18581858
*/
18591859
protected void unmapAllElements() {
@@ -1881,17 +1881,16 @@ protected void unmapElement(Object element) {
18811881
}
18821882

18831883
/**
1884-
* Removes the given association from the internal element to widget map.
1885-
* Does nothing if mapping is disabled, or if the given element does not map
1886-
* to the given item.
1884+
* Removes the given association from the internal element to widget map. Does
1885+
* nothing if mapping is disabled, or if the given element does not map to the
1886+
* given item.
18871887
* <p>
1888-
* This method is internal to the framework; subclassers should not call
1889-
* this method.
1888+
* This method is internal to the framework; subclasses should not call this
1889+
* method.
18901890
* </p>
18911891
*
1892-
* @param element
1893-
* the element
1894-
* @param item the item to unmap
1892+
* @param element the element
1893+
* @param item the item to unmap
18951894
* @since 2.0
18961895
*/
18971896
protected void unmapElement(Object element, Widget item) {
@@ -2101,14 +2100,12 @@ protected void internalUpdate(Widget widget, Object element, String[] properties
21012100
/**
21022101
* Copies attributes of the given element into the given widget.
21032102
* <p>
2104-
* This method is internal to the framework; subclassers should not call
2105-
* this method. Calls <code>doUpdateItem(widget, element, true)</code>.
2103+
* This method is internal to the framework; subclasses should not call this
2104+
* method. Calls <code>doUpdateItem(widget, element, true)</code>.
21062105
* </p>
21072106
*
2108-
* @param widget
2109-
* the widget
2110-
* @param element
2111-
* the element
2107+
* @param widget the widget
2108+
* @param element the element
21122109
*/
21132110
protected final void updateItem(Widget widget, Object element) {
21142111
SafeRunnable.run(new UpdateItemSafeRunnable(widget, element, true));

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/IWorkbenchPartReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public interface IWorkbenchPartReference {
6868
void addPropertyListener(IPropertyListener listener);
6969

7070
/**
71-
* @param listener the poperty listener to remove
71+
* @param listener the property listener to remove
7272
* @see IWorkbenchPart#removePropertyListener
7373
*/
7474
void removePropertyListener(IPropertyListener listener);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public Integer getAccelerator(IContributionItem item) {
6565
if (getEnabled(item) == null) {
6666
return getParentMenuManager().getOverrides().getAccelerator(item);
6767
}
68-
// no acclerator if the item is disabled
68+
// no accelerator if the item is disabled
6969
return Integer.valueOf(0);
7070
}
7171

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1797,7 +1797,7 @@ public void runWithException() throws Throwable {
17971797
* @since 3.1
17981798
*/
17991799
private void fireWindowClosed() {
1800-
// let the application do further deconfiguration
1800+
// let the application do further reconfiguration
18011801
getWindowAdvisor().postWindowClose();
18021802
getWorkbenchImpl().fireWindowClosed(this);
18031803
}
@@ -2034,7 +2034,7 @@ private boolean hardClose(boolean remove) {
20342034
hideNonRestorableViews();
20352035
}
20362036

2037-
// clear some lables
2037+
// clear some labels
20382038
// Remove the handler submissions. Bug 64024.
20392039
final IWorkbench workbench = getWorkbench();
20402040
LegacyHandlerService windowHs = (LegacyHandlerService) model.getContext().get(IHandlerService.class);
@@ -2547,7 +2547,7 @@ public final void largeUpdateEnd() {
25472547

25482548
/**
25492549
* Update the visible action sets. This method is typically called from a page
2550-
* when the user changes the visible action sets within the prespective.
2550+
* when the user changes the visible action sets within the perspective.
25512551
*/
25522552
public void updateActionSets() {
25532553
if (updateDisabled) {

0 commit comments

Comments
 (0)