Skip to content

Commit 1a95473

Browse files
Bananeweizenlkoe
authored andcommitted
Fix typo
One of the occurrences is a label in a dialog, found it that way. All others are just Java code or comments.
1 parent ab03c7d commit 1a95473

File tree

5 files changed

+22
-22
lines changed

5 files changed

+22
-22
lines changed

net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/config/ConfigurationWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ private static void writeModule(Module module, Branch parent, Severity parentSev
216216
metaEl.addAttribute(XMLTags.VALUE_TAG, module.getLastEnabledSeverity().name());
217217
}
218218

219-
// write child modules recursivly
219+
// write child modules recursively
220220
for (Module child : childs) {
221221
writeModule(child, moduleEl, severity, remainingModules);
222222
}

net.sf.eclipsecs.core/src/net/sf/eclipsecs/core/projectconfig/filters/PackageFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131

3232
/**
3333
* filters resources that lie within excluded packages. This filter is used for the checkstyle audit
34-
* funtion of this plugin.
34+
* function of this plugin.
3535
*
3636
* @author Lars Ködderitzsch
3737
*/
3838
public class PackageFilter extends AbstractFilter {
3939

4040
/**
4141
* Marker string in the filter data, if present the subpackes of a filtered package are not
42-
* recursivly excluded, but only the filtered package itself.
42+
* recursively excluded, but only the filtered package itself.
4343
*/
4444
public static final String RECURSE_OFF_MARKER = "<recurse=false>";
4545

net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/actions/CheckSelectedFilesAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void run(IAction action) {
8888
}
8989

9090
/**
91-
* Recursivly add all files contained in the given resource collection to the
91+
* Recursively add all files contained in the given resource collection to the
9292
* second list.
9393
*
9494
* @param resources

net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/properties/filter/PackageFilterEditor.java

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public int openEditor(Shell parent) {
9797
if (Window.OK == retCode) {
9898
this.mFilterData = this.getFilterDataFromDialog();
9999

100-
if (!mDialog.isRecursivlyExcludeSubTree()) {
100+
if (!mDialog.isRecursivelyExcludeSubTree()) {
101101
mFilterData.add(PackageFilter.RECURSE_OFF_MARKER);
102102
}
103103
}
@@ -178,7 +178,7 @@ private void initCheckedTreeSelectionDialog() {
178178

179179
this.mDialog.setInitialSelections(selectedElements.toArray());
180180
this.mDialog.setExpandedElements(expandedElements.toArray());
181-
this.mDialog.setRecursivlyExcludeSubTree(recurse);
181+
this.mDialog.setRecursivelyExcludeSubTree(recurse);
182182
}
183183
}
184184

@@ -352,7 +352,7 @@ public class CheckedTreeSelectionDialog extends SelectionStatusDialog {
352352

353353
private Object[] mExpandedElements;
354354

355-
private boolean mRecursivlyExcludeSubPackages = true;
355+
private boolean mRecursivelyExcludeSubPackages = true;
356356

357357
/**
358358
* Constructs an instance of <code>ElementTreeSelectionDialog</code>.
@@ -420,23 +420,23 @@ public void setSize(int width, int height) {
420420
}
421421

422422
/**
423-
* Sets if subtree should be recursivly excluded. Default is true.
423+
* Sets if subtree should be recursively excluded. Default is true.
424424
*
425-
* @param recursivlyExcludeSubTree
425+
* @param recursivelyExcludeSubTree
426426
* the recursive checking state
427427
*/
428-
public void setRecursivlyExcludeSubTree(boolean recursivlyExcludeSubTree) {
428+
public void setRecursivelyExcludeSubTree(boolean recursivelyExcludeSubTree) {
429429

430-
mRecursivlyExcludeSubPackages = recursivlyExcludeSubTree;
430+
mRecursivelyExcludeSubPackages = recursivelyExcludeSubTree;
431431
}
432432

433433
/**
434-
* Returns if the subtrees should be recursivly excluded.
434+
* Returns if the subtrees should be recursively excluded.
435435
*
436436
* @return <code>true</code> if subtrees should be excluded
437437
*/
438-
protected boolean isRecursivlyExcludeSubTree() {
439-
return mRecursivlyExcludeSubPackages;
438+
protected boolean isRecursivelyExcludeSubTree() {
439+
return mRecursivelyExcludeSubPackages;
440440
}
441441

442442
/*
@@ -468,7 +468,7 @@ protected void computeResult() {
468468

469469
List<Object> checked = Arrays.asList(mViewer.getCheckedElements());
470470

471-
if (!mRecursivlyExcludeSubPackages) {
471+
if (!mRecursivelyExcludeSubPackages) {
472472
setResult(checked);
473473
} else {
474474

@@ -493,18 +493,18 @@ protected Control createButtonBar(Composite parent) {
493493
composite.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
494494

495495
mBtnRecurseSubPackages = new Button(composite, SWT.CHECK);
496-
mBtnRecurseSubPackages.setText("Recursivly exclude sub-packages");
496+
mBtnRecurseSubPackages.setText("Recursively exclude sub-packages");
497497
GridData gd = new GridData();
498498
gd.horizontalAlignment = GridData.BEGINNING;
499499
gd.horizontalIndent = 5;
500500
mBtnRecurseSubPackages.setLayoutData(gd);
501501

502-
mBtnRecurseSubPackages.setSelection(mRecursivlyExcludeSubPackages);
502+
mBtnRecurseSubPackages.setSelection(mRecursivelyExcludeSubPackages);
503503
mBtnRecurseSubPackages.addSelectionListener(new SelectionListener() {
504504

505505
@Override
506506
public void widgetSelected(SelectionEvent e) {
507-
mRecursivlyExcludeSubPackages = mBtnRecurseSubPackages.getSelection();
507+
mRecursivelyExcludeSubPackages = mBtnRecurseSubPackages.getSelection();
508508
adaptRecurseBehaviour();
509509
}
510510

@@ -565,9 +565,9 @@ public void checkStateChanged(CheckStateChangedEvent event) {
565565

566566
IContainer element = (IContainer) event.getElement();
567567

568-
if (isRecursivlyExcludeSubTree() && !isGrayed(element)) {
568+
if (isRecursivelyExcludeSubTree() && !isGrayed(element)) {
569569
setSubElementsGrayedChecked(element, event.getChecked());
570-
} else if (isRecursivlyExcludeSubTree() && isGrayed(element)) {
570+
} else if (isRecursivelyExcludeSubTree() && isGrayed(element)) {
571571
mViewer.setGrayChecked(element, true);
572572
}
573573
}
@@ -591,7 +591,7 @@ private boolean evaluateIfTreeEmpty(Object input) {
591591

592592
private void adaptRecurseBehaviour() {
593593

594-
if (isRecursivlyExcludeSubTree()) {
594+
if (isRecursivelyExcludeSubTree()) {
595595

596596
Object[] checked = mViewer.getCheckedElements();
597597
for (Object element : checked) {

net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/quickfixes/blocks/NeedBracesQuickfix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public boolean visit(WhileStatement node) {
9797
}
9898

9999
/**
100-
* Helper method to recursivly bracify a if-statement.
100+
* Helper method to recursively bracify a if-statement.
101101
*
102102
* @param ifStatement
103103
* the if statement

0 commit comments

Comments
 (0)