Skip to content

Commit 40c3a02

Browse files
committed
fix javadoc related errors
1 parent eda2f3e commit 40c3a02

File tree

16 files changed

+57
-46
lines changed

16 files changed

+57
-46
lines changed

ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntHomeClasspathEntry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public int hashCode() {
177177
* Sets the ant home to use.
178178
*
179179
* @param path
180-
* path to toor of an ant home installation
180+
* path to root of an ant home installation
181181
*/
182182
public void setAntHome(String path) {
183183
antHomeLocation = path;

debug/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/launchConfigurations/ExternalToolsBuildTab.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,10 +330,10 @@ public static IProject[] getBuildProjects(ILaunchConfiguration configuration, St
330330
}
331331

332332
/**
333-
* Whether referenced projects should be considered when building. Only valid
334-
* when a set of projects is to be built.
333+
* Whether referenced projects should be considered when building. Only
334+
* valid when a set of projects is to be built.
335335
*
336-
* @return whether referenced projects should be considerd when building
336+
* @return whether referenced projects should be considered when building
337337
* @throws CoreException if unable to access the associated attribute
338338
*/
339339
public static boolean isIncludeReferencedProjects(ILaunchConfiguration configuration, String includeReferencedProjectsId) throws CoreException {

debug/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/variables/BuildFilesResolver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public String resolveValue(IDynamicVariable variable, String argument) throws Co
6868
deltas |= IResourceDelta.REMOVED;
6969
}
7070

71-
// Check wether to include files and/or directories
71+
// Check whether to include files and/or directories
7272
if (argument.indexOf(ARG_DIRS) > -1)
7373
{
7474
dirs = true;

debug/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/variables/BuildProjectResolver.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ protected void abort(String message, Throwable exception) throws CoreException {
5353
}
5454

5555
/**
56-
* Returns an expression used to reference the given variable and optional argument.
57-
* For example, <code>${var_name:arg}</code>.
56+
* Returns an expression used to reference the given variable and optional
57+
* argument. For example, <code>${var_name:arg}</code>.
5858
*
5959
* @param variable referenced variable
6060
* @param argument referenced argument or <code>null</code>
61-
* @return vraiable reference expression
61+
* @return variable reference expression
6262
*/
6363
protected String getReferenceExpression(IDynamicVariable variable, String argument) {
6464
StringBuilder reference = new StringBuilder();

runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/internal/preferences/legacy/PreferenceForwarder.java

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,21 @@
1313
*******************************************************************************/
1414
package org.eclipse.core.internal.preferences.legacy;
1515

16-
import java.io.*;
16+
import java.io.IOException;
17+
import java.io.InputStream;
18+
import java.io.OutputStream;
1719
import java.util.Properties;
18-
import org.eclipse.core.internal.preferences.*;
20+
import org.eclipse.core.internal.preferences.DefaultPreferences;
21+
import org.eclipse.core.internal.preferences.EclipsePreferences;
22+
import org.eclipse.core.internal.preferences.PreferencesService;
23+
import org.eclipse.core.internal.preferences.PrefsMessages;
1924
import org.eclipse.core.internal.runtime.RuntimeLog;
20-
import org.eclipse.core.runtime.*;
21-
import org.eclipse.core.runtime.preferences.*;
25+
import org.eclipse.core.runtime.IStatus;
26+
import org.eclipse.core.runtime.Preferences;
27+
import org.eclipse.core.runtime.Status;
28+
import org.eclipse.core.runtime.preferences.DefaultScope;
29+
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
30+
import org.eclipse.core.runtime.preferences.InstanceScope;
2231
import org.osgi.service.prefs.BackingStoreException;
2332

2433
/**
@@ -215,11 +224,9 @@ public boolean contains(String name) {
215224
}
216225

217226
/**
218-
* Returns the current value of the boolean-valued property with the
219-
* given name.
220-
* Returns the default-default value (<code>false</code>) if there
221-
* is no property with the given name, or if the current value
222-
* cannot be treated as a boolean.
227+
* Returns the current value of the boolean-valued property with the given name.
228+
* Returns the default value (<code>false</code>) if there is no property with
229+
* the given name, or if the current value cannot be treated as a boolean.
223230
*
224231
* @param name the name of the property
225232
* @return the boolean-valued property
@@ -512,11 +519,9 @@ public void setDefault(String name, float value) {
512519
}
513520

514521
/**
515-
* Returns the current value of the integer-valued property with the
516-
* given name.
517-
* Returns the default-default value (<code>0</code>) if there
518-
* is no property with the given name, or if the current value
519-
* cannot be treated as an integter.
522+
* Returns the current value of the integer-valued property with the given name.
523+
* Returns the default-default value (<code>0</code>) if there is no property
524+
* with the given name, or if the current value cannot be treated as an integer.
520525
*
521526
* @param name the name of the property
522527
* @return the int-valued property

runtime/bundles/org.eclipse.e4.core.services/src/org/eclipse/e4/core/internal/services/ResourceBundleTranslationProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private String translate_rec(String key) {
9797
result = translate_rec(underscorify(key));
9898
}
9999

100-
// if no succes, try to de-underscorify and recurse
100+
// if no success, try to de-underscorify and recurse
101101
if (result == null && key.contains("_")) { //$NON-NLS-1$
102102
result = translate_rec(key.replace('_', '.'));
103103
}

team/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* yyyymmdd bug Email and other contact information
1414
* -------- -------- -----------------------------------------------------------
1515
* 20070123 154100 [email protected] - Eugene Kuleshov, Initial UI coding
16-
* 20070201 154100 [email protected] - Peter Moogk, Port internet code from WTP to Eclipse base.
16+
* 20070201 154100 [email protected] - Peter Moogk, Port Internet code from WTP to Eclipse base.
1717
* 20070219 174674 [email protected] - Peter Moogk
1818
* 20070402 180622 [email protected] - Brock Janiczak, Inconsistent enablement states in network preference page
1919
* 20070416 177897 [email protected] - Atsuhiko Yamanaka, Improve UI of Proxy Preferences Page
@@ -28,8 +28,13 @@
2828
import org.eclipse.swt.events.SelectionEvent;
2929
import org.eclipse.swt.layout.GridData;
3030
import org.eclipse.swt.layout.GridLayout;
31-
import org.eclipse.swt.widgets.*;
32-
import org.eclipse.ui.*;
31+
import org.eclipse.swt.widgets.Combo;
32+
import org.eclipse.swt.widgets.Composite;
33+
import org.eclipse.swt.widgets.Control;
34+
import org.eclipse.swt.widgets.Label;
35+
import org.eclipse.ui.IWorkbench;
36+
import org.eclipse.ui.IWorkbenchPreferencePage;
37+
import org.eclipse.ui.PlatformUI;
3338

3439
public class ProxyPreferencePage extends PreferencePage implements
3540
IWorkbenchPreferencePage {

ua/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/IUniversalIntroConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public interface IUniversalIntroConstants {
4747
// convention: actual string value is class name.
4848
String INTRO_LINK = "IntroLink"; //$NON-NLS-1$
4949

50-
// key to retrive page sub-title from PageContentForm
50+
// key to retrieve page sub-title from PageContentForm
5151
String PAGE_SUBTITLE = "PageSubtitle"; //$NON-NLS-1$
5252

5353

ua/org.eclipse.ui.intro.universal/src/org/eclipse/ui/internal/intro/universal/util/Log.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
/**
2626
* Utility class for logging, based on Platform logging classes. The log
27-
* listerner used is the base one supplied by the platform. Error messages are
27+
* listener used is the base one supplied by the platform. Error messages are
2828
* always logged. Warning messages are only logged when the plugin is in debug
2929
* mode. Info messages are only logged when the /trace/logInfo debug option is
3030
* set to true. Performance reports are only logged when /trace/performance is
@@ -34,8 +34,8 @@ public class Log implements IUniversalIntroConstants {
3434

3535
/**
3636
* This MUST be set to <b>false </b> in production. <br>
37-
* Used to compile out developement debug messages. <br>
38-
* Compiler compiles out code warpped wit this flag as an optimization.
37+
* Used to compile out development debug messages. <br>
38+
* Compiler compiles out code wrapped with this flag as an optimization.
3939
*/
4040
public static final boolean DEBUG = false;
4141

update/org.eclipse.update.configurator/src/org/eclipse/update/configurator/IPlatformConfiguration.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,12 +343,12 @@ public interface IFeatureEntry {
343343
public ISiteEntry createSiteEntry(URL url, ISitePolicy policy);
344344

345345
/**
346-
* Create a site policy. The policy determines the way the site
347-
* plug-in are processed at startpu
346+
* Create a site policy. The policy determines the way the site plug-in are
347+
* processed at startup
348348
*
349349
* @param type policy type
350350
* @param list an array of site-relative paths representing the
351-
* inclusion/ exclusion list
351+
* inclusion/exclusion list
352352
* @return created site policy entry
353353
* @since 2.0
354354
*/
@@ -483,8 +483,9 @@ public interface IFeatureEntry {
483483

484484
/**
485485
* Locates the specified feature entry.
486+
*
486487
* @param id feature identifier
487-
* @return ferature entry, or <code>null</code>.
488+
* @return feature entry, or <code>null</code>.
488489
* @since 2.0
489490
*/
490491
@Deprecated

0 commit comments

Comments
 (0)