Spelling fixes in changelogs, Javadoc, logs and UI (#2718)

* spelling: abstract

* spelling: about

* spelling: absolute

* spelling: across

* spelling: activity

* spelling: actually

* spelling: addition

* spelling: allocating

* spelling: ambiguous

* spelling: analyzes

* spelling: analysis

* spelling: another

* spelling: appear

* spelling: arbitrary

* spelling: artifact

* spelling: assignment

* spelling: associated

* spelling: augment

* spelling: authentication

* spelling: automatically

* spelling: available

* spelling: availability

* spelling: because

* spelling: background

* spelling: beginning

* spelling: boolean

* spelling: browsers

* spelling: building

* spelling: calculation

* spelling: channel

* spelling: column

* spelling: concatenation

* spelling: connect

* spelling: contribute

* spelling: convert

* spelling: copied

* spelling: couldn't

* spelling: scrambled

* spelling: creates-a

* spelling: curr-entry

* spelling: customize

* spelling: diagnostic

* spelling: contain

* spelling: default

* spelling: delimiter

* spelling: descriptor

* spelling: disambiguates

* spelling: different

* spelling: diligently

* spelling: disabled

* spelling: discovered

* spelling: display

* spelling: doesn't

* spelling: dollar

* spelling: downstream

* spelling: dynamically

* spelling: preemptively

* spelling: encrypt

* spelling: erroneous

* spelling: examine

* spelling: existence

* spelling: value

* spelling: february

* spelling: handling

* spelling: hostname

* spelling: convenient

* spelling: identify

* spelling: implementation

* spelling: incorrect

* spelling: individual

* spelling: initialization

* spelling: initialized

* spelling: inputstream

* spelling: instantiated

* spelling: instantiation

* spelling: intended

* spelling: interpreted

* spelling: interrupted

* spelling: invocations

* spelling: kern

* spelling: localization

* spelling: logger

* spelling: malfunctioning

* spelling: methods

* spelling: monitor

* spelling: mutator

* spelling: multiple

* spelling: object

* spelling: configured

* spelling: optionally

* spelling: option

* spelling: overridden

* spelling: parameterized

* spelling: parent

* spelling: permissions

* spelling: plugin

* spelling: potentially

* spelling: preferable

* spelling: problems like

* spelling: programmatically

* spelling: property

* spelling: reallocate

* spelling: recommended

* spelling: redirected

* spelling: registered

* spelling: reliable

* spelling: remember

* spelling: recurrence

* spelling: repeatable

* spelling: repeated

* spelling: resource

* spelling: retrieve

* spelling: returned

* spelling: revision

* spelling: sandwich

* spelling: separator

* spelling: serialization

* spelling: settings

* spelling: shadow

* spelling: should

* spelling: someone

* spelling: source

* spelling: specified

* spelling: style

* spelling: subversion

* spelling: sufficient

* spelling: supplementary

* spelling: suppressing

* spelling: synchronization

* spelling: synchronized

* spelling: this

* spelling: transitioning

* spelling: termination

* spelling: trying

* spelling: truncatable

* spelling: unknown

* spelling: undeployed

* spelling: unnecessary

* spelling: unparseable

* spelling: update

* spelling: upper

* spelling: verify

* spelling: visible

* spelling: warning

* spelling: we're

* spelling: whitespace

* spelling: wide

* spelling: with

* spelling: workspace

* spelling: yielding

* spelling: to

* spelling: by

* spelling: the

* spelling: hours
This commit is contained in:
Josh Soref 2017-02-12 05:38:30 -05:00 committed by Oleg Nenashev
parent 6fb9e91b63
commit 496703d0fe
142 changed files with 254 additions and 254 deletions

View File

@ -211,7 +211,7 @@ Upcoming changes</a>
Job configuration submission now does not fail when there is no parameters property.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-39700">issue 39700</a>, regression in 1.637)
<li class="bug">
Fix names of item loading and cleanup Jenkins initializatiion stages.
Fix names of item loading and cleanup Jenkins initialization stages.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-40489">issue 40489</a>)
<li class="bug">
Performance: Use bulk change when submitting Job configurations
@ -506,7 +506,7 @@ Upcoming changes</a>
Performance: Avoid acquiring locks in <code>MaskingClassloader</code>.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23784">issue 23784</a>)
<li class="rfe">
Performance: Update <code>XStream</code> driver to improve performance of XML serilization/deserialization.
Performance: Update <code>XStream</code> driver to improve performance of XML serialization/deserialization.
(<a href="https://github.com/jenkinsci/jenkins/pull/2561">pull 2561</a>)
<li class="rfe">
Harden checks of prohibited names in user creation logic.
@ -541,7 +541,7 @@ Upcoming changes</a>
Properly handle quotes and other special symbols in item names during form validation.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-31871">issue 31871</a>)
<li class="rfe">
Internal: Invoke <code>hpi:record-core-location</code> during the build in order to enabled coordinated run accross repositories.
Internal: Invoke <code>hpi:record-core-location</code> during the build in order to enabled coordinated run across repositories.
(<a href="https://github.com/jenkinsci/jenkins/pull/1894">pull 1894</a>)
<li class="rfe">
Internal: Bulk cleanup of <code>@since</code> definitions in Javadoc.
@ -580,13 +580,13 @@ Upcoming changes</a>
Decrease connection timeout when changing the JNLP agent port via Groovy system scripts.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-38473">issue 38473</a>)
<li class="rfe">
Added Serbian locatization.
Added Serbian localization.
(<a href="https://github.com/jenkinsci/jenkins/pull/2554">PR #2554</a>)
<li class="bug">
Exclude <tt>/cli</tt> URL from CSRF protection crumb requirement, making the CLI work with CSRF protection enabled and JNLP port disabled.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-18114">issue 18114</a>)
<li class="bug">
Prevent instatination of <code>jenkins.model.Jenkins</code> on agents in the <code>ProcessKillingVeto</code> extension point.
Prevent instantiation of <code>jenkins.model.Jenkins</code> on agents in the <code>ProcessKillingVeto</code> extension point.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-38534">issue 38534</a>)
<li class="bug">
Fix handling of the <code>jenkins.model.Jenkins.slaveAgentPort</code> system property, which was not honored.
@ -646,12 +646,12 @@ Upcoming changes</a>
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-37814">issue 37814</a>)
<li class="bug">
Print warnings to system logs and administrative monitors
when Jenkins initializarion does not reach the final milestone.
when Jenkins initialization does not reach the final milestone.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-37874">issue 37874</a>,
diagnostics for <a href="https://issues.jenkins-ci.org/browse/JENKINS-37759">issue-37759</a>)
<li class="rfe">
Developer API: <code>UpdateSite#getJsonSignatureValidator()</code> can be now
overriden and used in plugins.
overridden and used in plugins.
(<a href="https://github.com/jenkinsci/jenkins/pull/2532">PR #2532</a>)
</ul>
<h3><a name=v2.20>What's new in 2.20</a> (2016/08/28)</h3>
@ -728,7 +728,7 @@ Upcoming changes</a>
When checking Update Center, append <code>?uctest</code> parameter to HTTP and HTTPS URLs only.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-37189">issue 37189</a>)
<li class="bug">
Incorrect formatting of messages in the Upate Center and Setup Wizard.
Incorrect formatting of messages in the Update Center and Setup Wizard.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-36757">issue 36757</a>)
<li class="bug">
Massive cleanup of issues reported by FindBugs.
@ -770,7 +770,7 @@ Upcoming changes</a>
Don't load all builds to display the paginated build history widget.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-31791">issue 31791</a>)
<li class="rfe">
Add dagnostic HTTP response to TCP agent listener.
Add diagnostic HTTP response to TCP agent listener.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-37223">issue 37223</a>)
<li class="rfe">
Internal: Invoke FindBugs during core build.
@ -1025,7 +1025,7 @@ Upcoming changes</a>
Fix keyboard navigation in setup wizard.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-33947">issue 33947</a>)
<li class="bug">
Cleanup of Javascript issues discovered by the JSHint static analyis tool.
Cleanup of Javascript issues discovered by the JSHint static analysis tool.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-35020">issue 35020</a>)
<li class="bug">
<code>DelegatingComputerLauncher</code> now accepts child classes in its hooks
@ -1038,7 +1038,7 @@ Upcoming changes</a>
Internal: Add symbol annotation for <code>SystemInfoLink</code>.
(<a href="https://github.com/jenkinsci/jenkins/pull/2375">PR #2375</a>)
<li class="bug">
Internal: NodeJS build was malfunctional on Win x64.
Internal: NodeJS build was malfunctioning on Win x64.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-35201">issue 35201</a>)
</ul>
<h3><a name=v2.6>What's new in 2.6</a> (2016/05/22)</h3>
@ -1050,7 +1050,7 @@ Upcoming changes</a>
<li class="rfe">
Improve extensibility of the Setup Wizard GUI:
<code>InstallState</code> and <code>InstallStateFilter</code> extension points.
(<a href="https://github.com/jenkinsci/jenkins/pull/2281">PR 2281</a> as supplimentary change for
(<a href="https://github.com/jenkinsci/jenkins/pull/2281">PR 2281</a> as supplementary change for
<a href="https://issues.jenkins-ci.org/browse/JENKINS-33663">issue 33663</a>)
<li class="rfe">
Improve User Experience in the New Item form. Submit button is always visible.
@ -1079,7 +1079,7 @@ Upcoming changes</a>
Migrate the leftover system properties to the new engine introduced in 2.4.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-34854">issue 34854</a>)
<li class="bug">
Do not show warnings abot a missing Tool Installer if it is present in at least one Update Site.
Do not show warnings about a missing Tool Installer if it is present in at least one Update Site.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-34880">issue 34880</a>)
<li class="bug">
Prevent hanging of the installation wizard due to the plugin status update issue.
@ -1858,7 +1858,7 @@ Upcoming changes</a>
Label expression help is missing in recent Jenkins versions.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-29376">issue 29376</a>)
<li class=bug>
Pre-emptively break memory cycles causing excessive live-set retention in remoting layer.
Preemptively break memory cycles causing excessive live-set retention in remoting layer.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-28844">issue 28844</a>)
<li class=rfe>
Don't run trigger for disabled/copied projects.
@ -2779,10 +2779,10 @@ Upcoming changes</a>
Move 'None' Source Code Management option to top position.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23434">issue 23434</a>)
<li class=bug>
Fixed <code>NullPointerException</code> when <code>ArctifactArchiver</code> is called for a build with the undefined status.
Fixed <code>NullPointerException</code> when <code>ArtifactArchiver</code> is called for a build with the undefined status.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-23526">issue 23526</a>)
<li class=rfe>
Allow disabling use of default exclude patterns in <code>ArctifactArchiver</code> (.git, .svn, etc.).
Allow disabling use of default exclude patterns in <code>ArtifactArchiver</code> (.git, .svn, etc.).
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-20086">issue 20086</a>)
<li class=bug>
Fixed <code>NullPointerException</code> when &quot;properties&quot; element is missing in a job's configuration submission by JSON

View File

@ -861,7 +861,7 @@ THE SOFTWARE.
</plugin>
<plugin>
<!--
generate jelly taglib docs from src/main/resoruces.
generate jelly taglib docs from src/main/resources.
this is necessary in addition to the <reporting> configuration
to get the results deployed.
-->

View File

@ -54,7 +54,7 @@ import java.io.IOException;
*
* <ol>
* <li>
* Mutater methods should invoke {@code this.save()} so that if the method is called outside
* Mutator methods should invoke {@code this.save()} so that if the method is called outside
* a {@link BulkChange}, the result will be saved immediately.
*
* <li>
@ -78,7 +78,7 @@ public class BulkChange implements Closeable {
public BulkChange(Saveable saveable) {
this.parent = current();
this.saveable = saveable;
// rememeber who allocated this object in case
// remember who allocated this object in case
// someone forgot to call save() at the end.
allocator = new Exception();

View File

@ -1202,7 +1202,7 @@ public final class FilePath implements Serializable {
deleteFile(deleting(dir));
} catch (IOException e) {
// if some of the child directories are big, it might take long enough to delete that
// it allows others to create new files, causing problemsl ike JENKINS-10113
// it allows others to create new files, causing problems like JENKINS-10113
// so give it one more attempt before we give up.
if(!isSymlink(dir))
deleteContentsRecursive(dir);
@ -2383,7 +2383,7 @@ public final class FilePath implements Serializable {
for (String token : Util.tokenize(fileMask))
matched &= hasMatch(dir,token,caseSensitive);
if(matched)
return Messages.FilePath_validateAntFileMask_whitespaceSeprator();
return Messages.FilePath_validateAntFileMask_whitespaceSeparator();
}
// a common mistake is to assume the wrong base dir, and there are two variations

View File

@ -63,7 +63,7 @@ public abstract class FileSystemProvisionerDescriptor extends Descriptor<FileSys
* @param listener
* The status of the operation, error message, etc., should go here.
* @return
* true if this {@link FileSystemProvisionerDescriptor} is responsible for de-alocating the workspace.
* true if this {@link FileSystemProvisionerDescriptor} is responsible for de-allocating the workspace.
* false otherwise, in which case the other {@link FileSystemProvisionerDescriptor}s are asked to
* clean up the workspace.
*/

View File

@ -1394,7 +1394,7 @@ public class Functions {
}
/**
* Resoruce path prefix.
* Resource path prefix.
*/
public static String getResourcePath() {
return Jenkins.RESOURCE_PATH;

View File

@ -299,7 +299,7 @@ public abstract class Launcher {
* Sets the environment variable overrides.
*
* <p>
* In adition to what the current process
* In addition to what the current process
* is inherited (if this is going to be launched from a agent agent, that
* becomes the "current" process), these variables will be also set.
*/

View File

@ -70,7 +70,7 @@ public class LocalPluginManager extends PluginManager {
* If the war file has any "/WEB-INF/plugins/*.jpi", extract them into the plugin directory.
*
* @return
* File names of the bundled plugins. Like {"ssh-slaves.jpi","subvesrion.jpi"}
* File names of the bundled plugins. Like {"ssh-slaves.jpi","subversion.jpi"}
*/
@Override
protected Collection<String> loadBundledPlugins() {

View File

@ -280,7 +280,7 @@ public abstract class Plugin implements Saveable {
* Controls the file where {@link #load()} and {@link #save()}
* persists data.
*
* This method can be also overriden if the plugin wants to
* This method can be also overridden if the plugin wants to
* use a custom {@link XStream} instance to persist data.
*
* @since 1.245

View File

@ -942,7 +942,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
* If the war file has any "/WEB-INF/plugins/[*.jpi | *.hpi]", extract them into the plugin directory.
*
* @return
* File names of the bundled plugins. Like {"ssh-slaves.hpi","subvesrion.jpi"}
* File names of the bundled plugins. Like {"ssh-slaves.hpi","subversion.jpi"}
* @throws Exception
* Any exception will be reported and halt the startup.
*/
@ -1011,7 +1011,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
URLConnection uc = url.openConnection();
InputStream in = null;
// Magic, which allows to avoid using stream generated for JarURLConnection.
// It prevents getting into JENKINS-37332 due to the file desciptor leak
// It prevents getting into JENKINS-37332 due to the file descriptor leak
if (uc instanceof JarURLConnection) {
final JarURLConnection jarURLConnection = (JarURLConnection) uc;
final String entryName = jarURLConnection.getEntryName();
@ -1050,7 +1050,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
/*package*/ static long getModificationDate(@Nonnull URL url) throws IOException {
URLConnection uc = url.openConnection();
// It prevents file desciptor leak if the URL references a file within JAR
// It prevents file descriptor leak if the URL references a file within JAR
// See JENKINS-37332 for more info
// The code idea is taken from https://github.com/jknack/handlebars.java/pull/394
if (uc instanceof JarURLConnection) {
@ -1225,7 +1225,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
for (PluginWrapper p : activePlugins) {
if (p.classLoader==cl) {
if (oneAndOnly!=null)
return null; // ambigious
return null; // ambiguous
oneAndOnly = p;
}
}
@ -1419,7 +1419,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
UpdateSite.Plugin plugin = getPlugin(pluginName, siteName);
// There could be cases like:
// 'plugin.ambiguous.updatesite' where both
// 'plugin' @ 'ambigiuous.updatesite' and 'plugin.ambiguous' @ 'updatesite' resolve to valid plugins
// 'plugin' @ 'ambiguous.updatesite' and 'plugin.ambiguous' @ 'updatesite' resolve to valid plugins
if (plugin != null) {
if (p != null) {
throw new Failure("Ambiguous plugin: " + n);

View File

@ -205,7 +205,7 @@ public final class ProxyConfiguration extends AbstractDescribableImpl<ProxyConfi
public Object readResolve() {
if (secretPassword == null)
// backward compatibility : get crambled password and store it encrypted
// backward compatibility : get scrambled password and store it encrypted
secretPassword = Secret.fromString(Scrambler.descramble(password));
password = null;
return this;

View File

@ -386,7 +386,7 @@ public class WebAppMain implements ServletContextListener {
}
// Logger is in the system classloader, so if we don't do this
// the whole web app will never be undepoyed.
// the whole web app will never be undeployed.
Logger.getLogger("").removeHandler(handler);
} finally {
JenkinsJVMAccess._setJenkinsJVM(false);

View File

@ -147,7 +147,7 @@ public class BuildCommand extends CLICommand {
SCMTriggerItem item = SCMTriggerItem.SCMTriggerItems.asSCMTriggerItem(job);
if (item == null)
throw new AbortException(job.getFullDisplayName()+" has no SCM trigger, but checkSCM was specified");
// pre-emtively check for a polling veto
// preemptively check for a polling veto
if (SCMDecisionHandler.firstShouldPollVeto(job) != null) {
return 0;
}

View File

@ -401,11 +401,11 @@ public abstract class CLICommand implements ExtensionPoint, Cloneable {
* @throws IllegalArgumentException
* If the execution can't continue due to wrong input parameter (job doesn't exist etc.)
* @throws IllegalStateException
* If the execution can't continue due to an incorect state of Jenkins, job, build etc.
* If the execution can't continue due to an incorrect state of Jenkins, job, build etc.
* @throws AbortException
* If the execution can't continue due to an other (rare, but foreseeable) issue
* @throws AccessDeniedException
* If the caller doesn't have sufficent rights for requested action
* If the caller doesn't have sufficient rights for requested action
* @throws BadCredentialsException
* If bad credentials were provided to CLI
*/

View File

@ -88,7 +88,7 @@ public class ViewOptionHandler extends OptionHandler<View> {
* @throws IllegalStateException
* If cannot get active Jenkins instance or view can't contain a views
* @throws AccessDeniedException
* If user doens't have a READ permission for the view
* If user doesn't have a READ permission for the view
* @since 1.618
*/
@CheckForNull

View File

@ -45,7 +45,7 @@ public class InstallUncaughtExceptionHandler {
"Failed to set the default UncaughtExceptionHandler. " +
"If any threads die due to unhandled coding errors then there will be no logging of this information. " +
"The lack of this diagnostic information will make it harder to track down issues which will reduce the supportability of Jenkins. " +
"It is highly recomended that you consult the documentation that comes with you servlet container on how to allow the " +
"It is highly recommended that you consult the documentation that comes with you servlet container on how to allow the " +
"`setDefaultUncaughtExceptionHandler` permission and enable it.", ex);
}
}

View File

@ -33,7 +33,7 @@
*
* <p>
* Such micro-scopic dependencies are organized into a bigger directed acyclic graph, which is then executed
* via <tt>Session</tt>. During execution of the reactor, additional tasks can be discovred and added to
* via <tt>Session</tt>. During execution of the reactor, additional tasks can be discovered and added to
* the DAG. We use this additional indirection to:
*
* <ol>

View File

@ -853,7 +853,7 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
}
/*
* No need to to lock the entire AbstractBuild on change set calculcation
* No need to lock the entire AbstractBuild on change set calculation
*/
private transient Object changeSetLock = new Object();

View File

@ -1151,7 +1151,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
return new BlockedBecauseOfBuildInProgress(lastBuild);
} else {
// The build has been likely deleted after the isLogUpdated() call.
// Another cause may be an API implemetation glitсh in the implementation for AbstractProject.
// Another cause may be an API implementation glitсh in the implementation for AbstractProject.
// Anyway, we should let the code go then.
LOGGER.log(Level.FINE, "The last build has been deleted during the non-concurrent cause creation. The build is not blocked anymore");
}
@ -1618,7 +1618,7 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
}
/**
* Gets the specific trigger, or null if the propert is not configured for this job.
* Gets the specific trigger, or null if the property is not configured for this job.
*/
public <T extends Trigger> T getTrigger(Class<T> clazz) {
for (Trigger p : triggers()) {

View File

@ -165,7 +165,7 @@ public abstract class Actionable extends AbstractModelObject implements ModelObj
* @since 1.548
* @see #addOrReplaceAction(Action) if you want to know whether the backing {@link #actions} was modified, for
* example in cases where the caller would need to persist the {@link Actionable} in order to persist the change
* and there is a desire to elide unneccessary persistence of unmodified objects.
* and there is a desire to elide unnecessary persistence of unmodified objects.
*/
@SuppressWarnings({"ConstantConditions", "deprecation"})
@SuppressFBWarnings("RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE")

View File

@ -105,7 +105,7 @@ public class ChoiceParameterDefinition extends SimpleParameterDefinition {
}
/**
* Checks if parameterised build choices are valid.
* Checks if parameterized build choices are valid.
*/
public FormValidation doCheckChoices(@QueryParameter String value) {
if (ChoiceParameterDefinition.areValidChoices(value)) {

View File

@ -190,7 +190,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
protected final Object statusChangeLock = new Object();
/**
* Keeps track of stack traces to track the tremination requests for this computer.
* Keeps track of stack traces to track the termination requests for this computer.
*
* @since 1.607
* @see Executor#resetWorkUnit(String)
@ -1274,7 +1274,7 @@ public /*transient*/ abstract class Computer extends Actionable implements Acces
* and then it would need to be loaded, which pulls in {@link Jenkins} and loads that
* and then that fails to load as you are not supposed to do that. Another option
* would be to export the logger over remoting, with increased complexity as a result.
* Instead we just use a loger based on this class name and prevent any references to
* Instead we just use a logger based on this class name and prevent any references to
* other classes from being transferred over remoting.
*/
private static final Logger LOGGER = Logger.getLogger(ListPossibleNames.class.getName());

View File

@ -456,7 +456,7 @@ public abstract class Descriptor<T extends Describable<T>> implements Saveable,
}
/**
* Used by Jelly to abstract away the handlign of global.jelly vs config.jelly databinding difference.
* Used by Jelly to abstract away the handling of global.jelly vs config.jelly databinding difference.
*/
public @CheckForNull PropertyType getPropertyType(@Nonnull Object instance, @Nonnull String field) {
// in global.jelly, instance==descriptor
@ -792,7 +792,7 @@ public abstract class Descriptor<T extends Describable<T>> implements Saveable,
/**
* Invoked when the global configuration page is submitted.
*
* Can be overriden to store descriptor-specific information.
* Can be overridden to store descriptor-specific information.
*
* @param json
* The JSON object that captures the configuration data for this {@link Descriptor}.

View File

@ -568,7 +568,7 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
}
/**
* Gets the specific property, or null if the propert is not configured for
* Gets the specific property, or null if the property is not configured for
* this job.
*/
public <T extends JobProperty> T getProperty(Class<T> clazz) {

View File

@ -91,7 +91,7 @@ public abstract class JobPropertyDescriptor extends Descriptor<JobProperty<?>> {
Class applicable = Types.erasure(Types.getTypeArgument(pt, 0));
return applicable.isAssignableFrom(jobType);
} else {
throw new AssertionError(clazz+" doesn't properly parameterize JobProperty. The isApplicable() method must be overriden.");
throw new AssertionError(clazz+" doesn't properly parameterize JobProperty. The isApplicable() method must be overridden.");
}
}

View File

@ -574,7 +574,7 @@ public abstract class Label extends Actionable implements Comparable<Label>, Mod
}
/**
* Convers a whitespace-separate list of tokens into a set of {@link Label}s.
* Convert a whitespace-separate list of tokens into a set of {@link Label}s.
*
* @param labels
* Strings like "abc def ghi". Can be empty or null.

View File

@ -35,7 +35,7 @@ import java.util.List;
* Participates in the rendering of HTML pages for all pages of Hudson.
*
* <p>
* This class provides a few hooks to augument the HTML generation process of Hudson, across
* This class provides a few hooks to augment the HTML generation process of Hudson, across
* all the HTML pages that Hudson delivers.
*
* <p>

View File

@ -79,7 +79,7 @@ import org.kohsuke.stapler.export.ExportedBean;
* through XStream.
*
*
* <h2>Assocaited Views</h2>
* <h2>Associated Views</h2>
* <h4>config.jelly</h4>
* <p>
* {@link ParameterDefinition} class uses <tt>config.jelly</tt> to contribute a form

View File

@ -276,7 +276,7 @@ public abstract class ParameterValue implements Serializable {
*
* <P>
* This message is used as a tooltip to describe jobs in the queue. The text should be one line without
* new line. No HTML allowed (the caller will perform necessary HTML escapes, so any text can be returend.)
* new line. No HTML allowed (the caller will perform necessary HTML escapes, so any text can be returned.)
*
* @since 1.323
*/

View File

@ -49,7 +49,7 @@ public interface PermalinkProjectAction extends Action {
*
* <p>
* Because {@link Permalink} is a strategy-pattern object,
* this method should normally return a pre-initialzied
* this method should normally return a pre-initialized
* read-only static list object.
*
* @return

View File

@ -553,7 +553,7 @@ public class Queue extends ResourceController implements Saveable {
* @param actions
* These actions can be used for associating information scoped to a particular build, to
* the task being queued. Upon the start of the build, these {@link Action}s will be automatically
* added to the {@link Run} object, and hence avaialable to everyone.
* added to the {@link Run} object, and hence available to everyone.
* For the convenience of the caller, this list can contain null, and those will be silently ignored.
* @since 1.311
* @return
@ -2822,7 +2822,7 @@ public class Queue extends ResourceController implements Saveable {
@SuppressFBWarnings(value = "IA_AMBIGUOUS_INVOCATION_OF_INHERITED_OR_OUTER_METHOD",
justification = "It will invoke the inherited clear() method according to Java semantics. "
+ "FindBugs recommends suppresing warnings in such case")
+ "FindBugs recommends suppressing warnings in such case")
public void cancelAll() {
for (T t : new ArrayList<T>(this))
t.cancel(Queue.this);

View File

@ -688,7 +688,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
String truncDesc = description;
// Could not find a preferred truncable index, force a trunc at maxTruncLength
// Could not find a preferred truncatable index, force a trunc at maxTruncLength
if (lastTruncatablePoint == -1)
lastTruncatablePoint = maxTruncLength;
@ -1213,7 +1213,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
// continue OUTER; // collision. Increase n and try again
// }
//
// // this n successfully diambiguates
// // this n successfully disambiguates
// for (int i = 0; i < tokens.length; i++) {
// String[] token = tokens[i];
// get(i).displayPath = combineLast(token,n);

View File

@ -84,7 +84,7 @@ import org.kohsuke.stapler.StaplerResponse;
* <p>
* TODO: move out more stuff to {@link DumbSlave}.
*
* On Febrary, 2016 a general renaming was done internally: the "slave" term was replaced by
* On February, 2016 a general renaming was done internally: the "slave" term was replaced by
* "Agent". This change was applied in: UI labels/HTML pages, javadocs and log messages.
* Java classes, fields, methods, etc were not renamed to avoid compatibility issues.
* See <a href="https://issues.jenkins-ci.org/browse/JENKINS-27268">JENKINS-27268</a>.
@ -123,7 +123,7 @@ public abstract class Slave extends Node implements Serializable {
private Mode mode = Mode.NORMAL;
/**
* Agent availablility strategy.
* Agent availability strategy.
*/
private RetentionStrategy retentionStrategy;
@ -496,7 +496,7 @@ public abstract class Slave extends Node implements Serializable {
* @since 2.12
*/
@Nonnull
@Restricted(NoExternalUse.class) // intedned for use by Jelly EL only (plus hack in DelegatingComputerLauncher)
@Restricted(NoExternalUse.class) // intended for use by Jelly EL only (plus hack in DelegatingComputerLauncher)
public final List<Descriptor<ComputerLauncher>> computerLauncherDescriptors(@CheckForNull Slave it) {
DescriptorExtensionList<ComputerLauncher, Descriptor<ComputerLauncher>> all =
Jenkins.getInstance().<ComputerLauncher, Descriptor<ComputerLauncher>>getDescriptorList(

View File

@ -49,7 +49,7 @@ import hudson.security.ACL;
*/
public abstract class TaskAction extends AbstractModelObject implements Action {
/**
* If non-null, that means either the activitiy is in progress
* If non-null, that means either the activity is in progress
* asynchronously, or it failed unexpectedly and the thread is dead.
*/
protected transient volatile TaskThread workerThread;

View File

@ -255,7 +255,7 @@ public class UpdateCenter extends AbstractModelObject implements Saveable, OnMas
public static UpdateCenter createUpdateCenter(@CheckForNull UpdateCenterConfiguration config) {
String requiredClassName = SystemProperties.getString(UpdateCenter.class.getName()+".className", null);
if (requiredClassName == null) {
// Use the defaul Update Center
// Use the default Update Center
LOGGER.log(Level.FINE, "Using the default Update Center implementation");
return createDefaultUpdateCenter(config);
}

View File

@ -109,7 +109,7 @@ public class UpdateSite {
*
* <p>
* There's normally some delay between when we send HTML that includes the check code,
* until we get the data back, so this variable is used to avoid asking too many browseres
* until we get the data back, so this variable is used to avoid asking too many browsers
* all at once.
*/
private transient volatile long lastAttempt;

View File

@ -206,7 +206,7 @@ public class UsageStatistics extends PageDecorator {
}
/**
* Asymmetric cipher is slow and in case of Sun RSA implementation it can only encyrypt the first block.
* Asymmetric cipher is slow and in case of Sun RSA implementation it can only encrypt the first block.
*
* So first create a symmetric key, then place this key in the beginning of the stream by encrypting it
* with the asymmetric cipher. The rest of the stream will be encrypted by a symmetric cipher.

View File

@ -128,14 +128,14 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
/**
* The username of the 'unknown' user used to avoid null user references.
*/
private static final String UKNOWN_USERNAME = "unknown";
private static final String UNKNOWN_USERNAME = "unknown";
/**
* These usernames should not be used by real users logging into Jenkins. Therefore, we prevent
* users with these names from being saved.
*/
private static final String[] ILLEGAL_PERSISTED_USERNAMES = new String[]{ACL.ANONYMOUS_USERNAME,
ACL.SYSTEM_USERNAME, UKNOWN_USERNAME};
ACL.SYSTEM_USERNAME, UNKNOWN_USERNAME};
private transient final String id;
private volatile String fullName;
@ -353,7 +353,7 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
* This is used to avoid null {@link User} instance.
*/
public static @Nonnull User getUnknown() {
return getById(UKNOWN_USERNAME, true);
return getById(UNKNOWN_USERNAME, true);
}
/**
@ -720,7 +720,7 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
* @since 1.600
*/
public static boolean isIdOrFullnameAllowed(@CheckForNull String id) {
//TODO: StringUtils.isBlank() checks the null falue, but FindBugs is not smart enough. Remove it later
//TODO: StringUtils.isBlank() checks the null value, but FindBugs is not smart enough. Remove it later
if (id == null || StringUtils.isBlank(id)) {
return false;
}
@ -1015,7 +1015,7 @@ public class User extends AbstractModelObject implements AccessControlled, Descr
public static abstract class CanonicalIdResolver extends AbstractDescribableImpl<CanonicalIdResolver> implements ExtensionPoint, Comparable<CanonicalIdResolver> {
/**
* context key for realm (domain) where idOrFullName has been retreived from.
* context key for realm (domain) where idOrFullName has been retrieved from.
* Can be used (for example) to distinguish ambiguous committer ID using the SCM URL.
* Associated Value is a {@link String}
*/

View File

@ -136,7 +136,7 @@ public class ItemListener implements ExtensionPoint {
/**
* @since 1.446
* Called at the begenning of the orderly shutdown sequence to
* Called at the beginning of the orderly shutdown sequence to
* allow plugins to clean up stuff
*/
public void onBeforeShutdown() {

View File

@ -51,7 +51,7 @@ import jenkins.model.Jenkins;
* This is an abstract class so that methods added in the future won't break existing listeners.
*
* <p>
* Once instanciated, use the {@link #register()} method to start receiving events.
* Once instantiated, use the {@link #register()} method to start receiving events.
*
* @author Kohsuke Kawaguchi
* @see jenkins.model.Jenkins#getSCMListeners()

View File

@ -23,7 +23,7 @@ import static java.util.logging.Level.WARNING;
* performs monitoring on all agents concurrently and asynchronously.
*
* @param <T>
* represents the the result of the monitoring.
* represents the result of the monitoring.
* @author Kohsuke Kawaguchi
*/
public abstract class AbstractAsyncNodeMonitorDescriptor<T> extends AbstractNodeMonitorDescriptor<T> {

View File

@ -49,7 +49,7 @@ import java.util.logging.Logger;
* and taking some action based on its result.
*
* @param <T>
* represents the the result of the monitoring.
* represents the result of the monitoring.
* @author Kohsuke Kawaguchi
*/
public abstract class AbstractNodeMonitorDescriptor<T> extends Descriptor<NodeMonitor> {

View File

@ -53,7 +53,7 @@ public class TarInputStream extends FilterInputStream {
/**
* This contents of this array is not used at all in this class,
* it is only here to avoid repreated object creation during calls
* it is only here to avoid repeated object creation during calls
* to the no-arg read method.
*/
protected byte[] oneBuf;
@ -126,7 +126,7 @@ public class TarInputStream extends FilterInputStream {
* is left in the entire archive, only in the current entry.
* This value is determined from the entry's size header field
* and the amount of data already read from the current entry.
* Integer.MAX_VALUE is returen in case more than Integer.MAX_VALUE
* Integer.MAX_VALUE is returned in case more than Integer.MAX_VALUE
* bytes are left in the current entry in the archive.
*
* @return The number of available bytes for the current entry.
@ -246,7 +246,7 @@ public class TarInputStream extends FilterInputStream {
this.currEntry = new TarEntry(headerBuf);
if (this.debug) {
System.err.println("TarInputStream: SET CURRENTRY '"
System.err.println("TarInputStream: SET currENTRY '"
+ this.currEntry.getName()
+ "' size = "
+ this.currEntry.getSize());

View File

@ -152,7 +152,7 @@ public abstract class SU {
ArgumentListBuilder args = new ArgumentListBuilder().add(javaExe);
if(slaveJar.isFile())
args.add("-jar").add(slaveJar);
else // in production code this never happens, but during debugging this is convenientud
else // in production code this never happens, but during debugging this is convenient
args.add("-cp").add(slaveJar).add(hudson.remoting.Launcher.class.getName());
if(rootPassword==null) {

View File

@ -37,7 +37,7 @@ import jenkins.util.SystemProperties;
* @author Kohsuke Kawaguchi
*/
abstract class BaseParser extends LLkParser {
// lower/uppser bounds of fields (inclusive)
// lower/upper bounds of fields (inclusive)
static final int[] LOWER_BOUNDS = new int[] {0,0,1,1,0};
static final int[] UPPER_BOUNDS = new int[] {59,23,31,12,7};

View File

@ -211,7 +211,7 @@ public class Search {
}
/**
* When there are mutiple suggested items, this method can narrow down the resultset
* When there are multiple suggested items, this method can narrow down the resultset
* to the SuggestedItem that has a url that contains the query. This is useful is one
* job has a display name that matches another job's project name.
* @param r A list of Suggested items. It is assumed that there is at least one
@ -324,7 +324,7 @@ public class Search {
/**
* Returns {@link List} such that its <tt>get(end)</tt>
* returns the concatanation of [token_start,...,token_end]
* returns the concatenation of [token_start,...,token_end]
* (both end inclusive.)
*/
public List<String> subSequence(final int start) {

View File

@ -43,12 +43,12 @@ import java.io.IOException;
import java.net.URLEncoder;
/**
* Implements the dual authentcation mechanism.
* Implements the dual authentication mechanism.
*
* <p>
* Jenkins supports both the HTTP basic authentication and the form-based authentication.
* The former is for scripted clients, and the latter is for humans. Unfortunately,
* because the servlet spec does not allow us to programatically authenticate users,
* because the servlet spec does not allow us to programmatically authenticate users,
* we need to rely on some hack to make it work, and this is the class that implements
* that hack.
*

View File

@ -314,7 +314,7 @@ public final class Permission {
//
// Root Permissions.
//
// These permisisons are meant to be used as the 'impliedBy' permission for other more specific permissions.
// These permissions are meant to be used as the 'impliedBy' permission for other more specific permissions.
// The intention is to allow a simplified AuthorizationStrategy implementation agnostic to
// specific permissions.

View File

@ -82,7 +82,7 @@ public abstract class ComputerLauncher extends AbstractDescribableImpl<ComputerL
* @throws IOException
* if the method throws an {@link IOException} or {@link InterruptedException}, the launch was considered
* a failure and the stack trace is reported into the listener. This handling is just so that the implementation
* of this method doesn't have to dilligently catch those exceptions.
* of this method doesn't have to diligently catch those exceptions.
*/
public void launch(SlaveComputer computer, TaskListener listener) throws IOException , InterruptedException {
// to remain compatible with the legacy implementation that overrides the old signature
@ -197,7 +197,7 @@ public abstract class ComputerLauncher extends AbstractDescribableImpl<ComputerL
return;
}
}
logger.println(Messages.ComputerLauncher_UknownJavaVersion(javaCommand));
throw new IOException(Messages.ComputerLauncher_UknownJavaVersion(javaCommand));
logger.println(Messages.ComputerLauncher_UnknownJavaVersion(javaCommand));
throw new IOException(Messages.ComputerLauncher_UnknownJavaVersion(javaCommand));
}
}

View File

@ -99,7 +99,7 @@ public abstract class NodeDescriptor extends Descriptor<Node> {
public FormValidation doCheckName(@QueryParameter String value ) {
String name = Util.fixEmptyAndTrim(value);
if(name==null)
return FormValidation.error(Messages.NodeDescripter_CheckName_Mandatory());
return FormValidation.error(Messages.NodeDescriptor_CheckName_Mandatory());
try {
Jenkins.checkGoodName(name);
} catch (Failure f) {

View File

@ -181,7 +181,7 @@ public abstract class RetentionStrategy<T extends Computer> extends AbstractDesc
private static final Logger logger = Logger.getLogger(Demand.class.getName());
/**
* The delay (in minutes) for which the agent must be in demand before tring to launch it.
* The delay (in minutes) for which the agent must be in demand before trying to launch it.
*/
private final long inDemandDelay;

View File

@ -557,7 +557,7 @@ public class SlaveComputer extends Computer {
// update the data structure atomically to prevent others from seeing a channel that's not properly initialized yet
synchronized(channelLock) {
if(this.channel!=null) {
// check again. we used to have this entire method in a big sycnhronization block,
// check again. we used to have this entire method in a big synchronization block,
// but Channel constructor blocks for an external process to do the connection
// if CommandLauncher is used, and that cannot be interrupted because it blocks at InputStream.
// so if the process hangs, it hangs the thread in a lock, and since Hudson will try to relaunch,

View File

@ -298,7 +298,7 @@ public class Maven extends Builder {
int startIndex = 0;
int endIndex;
do {
// split targets into multiple invokations of maven separated by |
// split targets into multiple invocations of maven separated by |
endIndex = targets.indexOf('|', startIndex);
if (-1 == endIndex) {
endIndex = targets.length();

View File

@ -101,7 +101,7 @@ public abstract class Publisher extends BuildStepCompatibilityLayer implements D
* to include their execution time in the total build time.
*
* <p>
* So normally, that is the preferrable behavior, but in a few cases
* So normally, that is the preferable behavior, but in a few cases
* this is problematic. One of such cases is when a publisher needs to
* trigger other builds, which in turn need to see this build as a
* completed build. Those plugins that need to do this can return true

View File

@ -58,7 +58,7 @@ public abstract class UserNameResolver implements ExtensionPoint {
*
* <p>
* When multiple resolvers are installed, they are consulted in order and
* the search will be over when a name is found by someoene.
* the search will be over when a name is found by someone.
*
* <p>
* Since {@link UserNameResolver} is singleton, this method can be invoked concurrently

View File

@ -37,7 +37,7 @@ public abstract class DownloadFromUrlInstaller extends ToolInstaller {
/**
* Checks if the specified expected location already contains the installed version of the tool.
*
* This check needs to run fairly efficiently. The current implementation uses the souce URL of {@link Installable},
* This check needs to run fairly efficiently. The current implementation uses the source URL of {@link Installable},
* based on the assumption that released bits do not change its content.
*/
protected boolean isUpToDate(FilePath expectedLocation, Installable i) throws IOException, InterruptedException {

View File

@ -160,7 +160,7 @@ public class SCMTrigger extends Trigger<Item> {
/**
* Run the SCM trigger with additional build actions. Used by SubversionRepositoryStatus
* to trigger a build at a specific revisionn number.
* to trigger a build at a specific revision number.
*
* @param additionalActions
* @since 1.375
@ -597,7 +597,7 @@ public class SCMTrigger extends Trigger<Item> {
if (job == null) {
return;
}
// we can pre-emtively check the SCMDecisionHandler instances here
// we can preemptively check the SCMDecisionHandler instances here
// note that job().poll(listener) should also check this
SCMDecisionHandler veto = SCMDecisionHandler.firstShouldPollVeto(job);
if (veto != null) {

View File

@ -26,7 +26,7 @@ public class ByteArrayOutputStream2 extends ByteArrayOutputStream {
public void readFrom(InputStream is) throws IOException {
while(true) {
if(count==buf.length) {
// realllocate
// reallocate
byte[] data = new byte[buf.length*2];
System.arraycopy(buf,0,data,0,buf.length);
buf = data;

View File

@ -90,7 +90,7 @@ public class CharacterEncodingFilter implements Filter {
// containers often implement RFCs incorrectly in that it doesn't interpret query parameter
// decoding with UTF-8. This will ensure we get it right.
// but doing this for config.xml submission could potentiall overwrite valid
// but doing this for config.xml submission could potentially overwrite valid
// "text/xml;charset=xxx"
String contentType = req.getContentType();
if (contentType != null) {

View File

@ -67,7 +67,7 @@ public class ChunkedInputStream extends InputStream {
/** The current position within the current chunk */
private int pos;
/** True if we'are at the beginning of stream */
/** True if we're at the beginning of stream */
private boolean bof = true;
/** True if we've reached the end of stream */
@ -101,7 +101,7 @@ public class ChunkedInputStream extends InputStream {
* is followed by a CRLF. The method returns -1 as soon as a chunksize of 0
* is detected.</p>
*
* <p> Trailer headers are read automcatically at the end of the stream and
* <p> Trailer headers are read automatically at the end of the stream and
* can be obtained with the getResponseFooters() method.</p>
*
* @return -1 of the end of the stream has been reached or the next data

View File

@ -44,14 +44,14 @@ import com.jcraft.jzlib.GZIPInputStream;
import com.jcraft.jzlib.GZIPOutputStream;
/**
* Represents write-once read-many file that can be optiionally compressed
* Represents write-once read-many file that can be optionally compressed
* to save disk space. This is used for console output and other bulky data.
*
* <p>
* In this class, the data on the disk can be one of two states:
* <ol>
* <li>Uncompressed, in which case the original data is available in the specified file name.
* <li>Compressed, in which case the gzip-compressed data is available in the specifiled file name + ".gz" extension.
* <li>Compressed, in which case the gzip-compressed data is available in the specified file name + ".gz" extension.
* </ol>
*
* Once the file is written and completed, it can be compressed asynchronously

View File

@ -200,7 +200,7 @@ public class DescribableList<T extends Describable<T>, D extends Descriptor<T>>
* Rebuilds the list by creating a fresh instances from the submitted form.
*
* <p>
* This version works with the the &lt;f:hetero-list> UI tag, where the user
* This version works with the &lt;f:hetero-list> UI tag, where the user
* is allowed to create multiple instances of the same descriptor. Order is also
* significant.
*/
@ -249,7 +249,7 @@ public class DescribableList<T extends Describable<T>, D extends Descriptor<T>>
/**
* {@link Converter} implementation for XStream.
*
* Serializaion form is compatible with plain {@link List}.
* Serialization form is compatible with plain {@link List}.
*/
public static class ConverterImpl extends AbstractCollectionConverter {
CopyOnWriteList.ConverterImpl copyOnWriteListConverter;

View File

@ -54,7 +54,7 @@ import javax.annotation.CheckForNull;
* <p>
* The other mode is the new mode, where the {@link Descriptor}s are actually stored in {@link ExtensionList}
* (see {@link jenkins.model.Jenkins#getDescriptorList(Class)}) and this class acts as a view to it. This enables
* bi-directional interoperability &mdash; both descriptors registred automatically and descriptors registered
* bi-directional interoperability &mdash; both descriptors registered automatically and descriptors registered
* manually are visible from both {@link DescriptorList} and {@link ExtensionList}. In this mode,
* {@link #legacy} is null but {@link #type} is non-null.
*

View File

@ -61,7 +61,7 @@ import java.lang.reflect.Method;
*
* <p>
* More traditional way of doing this is to use a lock file with PID in it, but unfortunately in Java,
* there's no reliabe way to obtain PID.
* there's no reliable way to obtain PID.
*
* @author Kohsuke Kawaguchi
* @since 1.178

View File

@ -133,7 +133,7 @@ public abstract class FormFieldValidator {
throw new AccessDeniedException("No subject");
subject.checkPermission(permission);
} catch (AccessDeniedException e) {
// if the user has hudson-wisde admin permission, all checks are allowed
// if the user has hudson-wide admin permission, all checks are allowed
// this is to protect Hudson administrator from broken ACL/SecurityRealm implementation/configuration.
if(!Jenkins.getInstance().hasPermission(Jenkins.ADMINISTER))
throw e;
@ -481,7 +481,7 @@ public abstract class FormFieldValidator {
else warning(msg);
}
} catch (InterruptedException e) {
ok(); // coundn't check
ok(); // couldn't check
}
}

View File

@ -511,7 +511,7 @@ public abstract class FormValidation extends IOException implements HttpResponse
}
/**
* Implement the actual form validation logic, by using other convenience methosd defined in this class.
* Implement the actual form validation logic, by using other convenience methods defined in this class.
* If you are not using any of those, you don't need to extend from this class.
*/
protected abstract FormValidation check() throws IOException, ServletException;

View File

@ -71,7 +71,7 @@ public class IOUtils {
*
* <p>
* {@link InputStream#skip(long)} has two problems. One is that
* it doesn't let us reliably differentiate "hit EOF" case vs "inpustream just returning 0 since there's no data
* it doesn't let us reliably differentiate "hit EOF" case vs "inputstream just returning 0 since there's no data
* currently available at hand", and some subtypes (such as {@link FileInputStream#skip(long)} returning -1.
*
* <p>

View File

@ -50,7 +50,7 @@ import java.util.Collection;
*
* <pre><xmp>
* <select id='foo'>
* <option>Fetching values...</optoin>
* <option>Fetching values...</option>
* </select>
* </xmp></pre>
*

View File

@ -217,7 +217,7 @@ public class PersistedList<T> extends AbstractList<T> {
/**
* {@link Converter} implementation for XStream.
*
* Serializaion form is compatible with plain {@link List}.
* Serialization form is compatible with plain {@link List}.
*/
public static class ConverterImpl extends AbstractCollectionConverter {
CopyOnWriteList.ConverterImpl copyOnWriteListConverter;

View File

@ -1110,7 +1110,7 @@ public abstract class ProcessTree implements Iterable<OSProcess>, IProcessTree,
// for some reason, I was never able to get sysctlbyname work.
// if(LIBC.sysctlbyname("kern.argmax", argmaxRef.getPointer(), size, NULL, _)!=0)
if(LIBC.sysctl(new int[]{CTL_KERN,KERN_ARGMAX},2, argmaxRef.getPointer(), size, NULL, _)!=0)
throw new IOException("Failed to get kernl.argmax: "+LIBC.strerror(Native.getLastError()));
throw new IOException("Failed to get kern.argmax: "+LIBC.strerror(Native.getLastError()));
int argmax = argmaxRef.getValue();

View File

@ -77,7 +77,7 @@ public class RunList<R extends Run> extends AbstractList<R> {
}
/**
* Createsa a {@link RunList} combining all the runs of the supplied jobs.
* Creates a a {@link RunList} combining all the runs of the supplied jobs.
*
* @param jobs the supplied jobs.
* @param <J> the base class of job.

View File

@ -23,7 +23,7 @@ import java.util.concurrent.ExecutorService;
*/
public class SequentialExecutionQueue implements Executor {
/**
* Access is sycnhronized by {@code Queue.this}
* Access is synchronized by {@code Queue.this}
*/
private final Map<Runnable,QueueEntry> entries = new HashMap<Runnable,QueueEntry>();
private ExecutorService executors;

View File

@ -147,7 +147,7 @@ public class BeanBuilder extends GroovyObjectSupport {
}
/**
* Retrieves the RuntimeSpringConfiguration instance used the the BeanBuilder
* Retrieves the RuntimeSpringConfiguration instance used by the BeanBuilder
* @return The RuntimeSpringConfiguration instance
*/
public RuntimeSpringConfiguration getSpringConfig() {
@ -198,7 +198,7 @@ public class BeanBuilder extends GroovyObjectSupport {
/**
* This class is used to defer the adding of a property to a bean definition until later
* This is for a case where you assign a property to a list that may not contain bean references at
* that point of asignment, but may later hence it would need to be managed
* that point of assignment, but may later hence it would need to be managed
*
* @author Graeme Rocher
*/

View File

@ -171,7 +171,7 @@ interface RuntimeSpringConfiguration extends ServletContextAware {
BeanConfiguration getBeanConfig(String name);
/**
* Creates and returns the BeanDefinition that is regsitered within the given name or returns null
* Creates and returns the BeanDefinition that is registered within the given name or returns null
*
* @param name The name of the bean definition
* @return A BeanDefinition

View File

@ -54,7 +54,7 @@ import net.sf.json.JSONObject;
* the &lt;td> tag.
*
* <p>
* This object may have an additional <tt>columHeader.jelly</tt>. The default ColmnHeader
* This object may have an additional <tt>columnHeader.jelly</tt>. The default ColumnHeader
* will render {@link #getColumnCaption()}.
*
* <p>

View File

@ -52,7 +52,7 @@ public class InstallState implements ExtensionPoint {
public static final InstallState UNKNOWN = new InstallState("UNKNOWN", true);
/**
* After any setup / restart / etc. hooks are done, states hould be running
* After any setup / restart / etc. hooks are done, states should be running
*/
@Extension
public static final InstallState RUNNING = new InstallState("RUNNING", true);
@ -151,7 +151,7 @@ public class InstallState implements ExtensionPoint {
public static final InstallState TEST = new InstallState("TEST", true);
/**
* Jenkins started in development mode: Bolean.getBoolean("hudson.Main.development").
* Jenkins started in development mode: Boolean.getBoolean("hudson.Main.development").
* Can be run normally with the -Djenkins.install.runSetupWizard=true
*/
public static final InstallState DEVELOPMENT = new InstallState("DEVELOPMENT", true);

View File

@ -91,7 +91,7 @@ public class InstallUtil {
*/
public static void proceedToNextStateFrom(InstallState prior) {
InstallState next = getNextInstallState(prior);
if (Main.isDevelopmentMode) LOGGER.info("Install state tranisitioning from: " + prior + " to: " + next);
if (Main.isDevelopmentMode) LOGGER.info("Install state transitioning from: " + prior + " to: " + next);
if (next != null) {
Jenkins.getInstance().setInstallState(next);
}

View File

@ -339,7 +339,7 @@ public class SetupWizard extends PageDecorator {
/**
* Gets the suggested plugin list from the update sites, falling back to a local version
* @return JSON array with the categorized plugon list
* @return JSON array with the categorized plugin list
*/
@CheckForNull
/*package*/ JSONArray getPlatformPluginList() {

View File

@ -1437,7 +1437,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
/**
* @deprecated
* UI method. Not meant to be used programatically.
* UI method. Not meant to be used programmatically.
*/
@Deprecated
public ComputerSet getComputer() {
@ -1456,7 +1456,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
*/
@SuppressWarnings({"unchecked", "rawtypes"}) // too late to fix
public Descriptor getDescriptor(String id) {
// legacy descriptors that are reigstered manually doesn't show up in getExtensionList, so check them explicitly.
// legacy descriptors that are registered manually doesn't show up in getExtensionList, so check them explicitly.
Iterable<Descriptor> descriptors = Iterators.sequence(getExtensionList(Descriptor.class), DescriptorExtensionList.listLegacyInstances());
for (Descriptor d : descriptors) {
if (d.getId().equals(id)) {
@ -2342,7 +2342,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
// Almost everyone else except Nginx put the host and port in separate headers
buf.append(host);
} else {
// Nginx uses the same spec as for the Host header, i.e. hostanme:port
// Nginx uses the same spec as for the Host header, i.e. hostname:port
buf.append(host.substring(0, index));
if (index + 1 < host.length()) {
try {
@ -3887,7 +3887,7 @@ public class Jenkins extends AbstractCIBase implements DirectlyModifiableTopLeve
String from = req.getParameter("from");
if(from!=null && from.startsWith("/") && !from.equals("/loginError")) {
rsp.sendRedirect2(from); // I'm bit uncomfortable letting users redircted to other sites, make sure the URL falls into this domain
rsp.sendRedirect2(from); // I'm bit uncomfortable letting users redirected to other sites, make sure the URL falls into this domain
return;
}

View File

@ -293,7 +293,7 @@ public abstract class AbstractLazyLoadRunMap<R> extends AbstractMap<Integer,R> i
}
/**
* Checks if the the specified build exists.
* Checks if the specified build exists.
*
* @param number the build number to probe.
* @return {@code true} if there is an run for the corresponding number, note that this does not mean that

View File

@ -24,7 +24,7 @@ public abstract class GlobalSettingsProvider extends AbstractDescribableImpl<Glo
* configure maven launcher argument list with adequate settings path
*
* @param build
* the build to provide the settigns for
* the build to provide the settings for
* @return the filepath to the provided file. <code>null</code> if no settings will be provided.
*/
public abstract FilePath supplySettings(AbstractBuild<?, ?> build, TaskListener listener);

View File

@ -59,7 +59,7 @@ public final class UserDetailsCache {
*/
private static /*not final*/ Integer EXPIRE_AFTER_WRITE_SEC = SystemProperties.getInteger(SYS_PROP_NAME, (int)TimeUnit.MINUTES.toSeconds(2));
private final Cache<String, UserDetails> detailsCache;
private final Cache<String, Boolean> existanceCache;
private final Cache<String, Boolean> existenceCache;
/**
* Constructor intended to be instantiated by Jenkins only.
@ -75,7 +75,7 @@ public final class UserDetailsCache {
}
}
detailsCache = newBuilder().softValues().expireAfterWrite(EXPIRE_AFTER_WRITE_SEC, TimeUnit.SECONDS).build();
existanceCache = newBuilder().softValues().expireAfterWrite(EXPIRE_AFTER_WRITE_SEC, TimeUnit.SECONDS).build();
existenceCache = newBuilder().softValues().expireAfterWrite(EXPIRE_AFTER_WRITE_SEC, TimeUnit.SECONDS).build();
}
/**
@ -97,7 +97,7 @@ public final class UserDetailsCache {
*/
@CheckForNull
public UserDetails getCached(String idOrFullName) throws UsernameNotFoundException {
Boolean exists = existanceCache.getIfPresent(idOrFullName);
Boolean exists = existenceCache.getIfPresent(idOrFullName);
if (exists != null && !exists) {
throw new UserMayOrMayNotExistException(String.format("\"%s\" does not exist", idOrFullName));
} else {
@ -119,7 +119,7 @@ public final class UserDetailsCache {
*/
@Nonnull
public UserDetails loadUserByUsername(String idOrFullName) throws UsernameNotFoundException, DataAccessException, ExecutionException {
Boolean exists = existanceCache.getIfPresent(idOrFullName);
Boolean exists = existenceCache.getIfPresent(idOrFullName);
if(exists != null && !exists) {
throw new UsernameNotFoundException(String.format("\"%s\" does not exist", idOrFullName));
} else {
@ -141,7 +141,7 @@ public final class UserDetailsCache {
* Discards all entries in the cache.
*/
public void invalidateAll() {
existanceCache.invalidateAll();
existenceCache.invalidateAll();
detailsCache.invalidateAll();
}
@ -150,7 +150,7 @@ public final class UserDetailsCache {
* @param idOrFullName the key
*/
public void invalidate(final String idOrFullName) {
existanceCache.invalidate(idOrFullName);
existenceCache.invalidate(idOrFullName);
detailsCache.invalidate(idOrFullName);
}
@ -171,17 +171,17 @@ public final class UserDetailsCache {
Jenkins jenkins = Jenkins.getInstance();
UserDetails userDetails = jenkins.getSecurityRealm().loadUserByUsername(idOrFullName);
if (userDetails == null) {
existanceCache.put(this.idOrFullName, Boolean.FALSE);
existenceCache.put(this.idOrFullName, Boolean.FALSE);
throw new NullPointerException("hudson.security.SecurityRealm should never return null. "
+ jenkins.getSecurityRealm() + " returned null for idOrFullName='" + idOrFullName + "'");
}
existanceCache.put(this.idOrFullName, Boolean.TRUE);
existenceCache.put(this.idOrFullName, Boolean.TRUE);
return userDetails;
} catch (UsernameNotFoundException e) {
existanceCache.put(this.idOrFullName, Boolean.FALSE);
existenceCache.put(this.idOrFullName, Boolean.FALSE);
throw e;
} catch (DataAccessException e) {
existanceCache.invalidate(this.idOrFullName);
existenceCache.invalidate(this.idOrFullName);
throw e;
}
}

View File

@ -49,7 +49,7 @@ public class AdminCallableMonitor extends AdministrativeMonitor {
}
/**
* Depending on whether the user said "examin" or "dismiss", send him to the right place.
* Depending on whether the user said "examine" or "dismiss", send him to the right place.
*/
@RequirePOST
public HttpResponse doAct(@QueryParameter String dismiss) throws IOException {

View File

@ -140,7 +140,7 @@ public class SystemProperties implements ServletContextListener, OnMaster {
* @param key the name of the system property.
* @param def a default value.
* @return the string value of the system property,
* or {@code null} if the the property is missing and the default value is {@code null}.
* or {@code null} if the property is missing and the default value is {@code null}.
*
* @exception NullPointerException if {@code key} is {@code null}.
* @exception IllegalArgumentException if {@code key} is empty.
@ -158,7 +158,7 @@ public class SystemProperties implements ServletContextListener, OnMaster {
* @param def a default value.
* @param logLevel the level of the log if the provided key is not found.
* @return the string value of the system property,
* or {@code null} if the the property is missing and the default value is {@code null}.
* or {@code null} if the property is missing and the default value is {@code null}.
*
* @exception NullPointerException if {@code key} is {@code null}.
* @exception IllegalArgumentException if {@code key} is empty.

View File

@ -21,7 +21,7 @@
# THE SOFTWARE.
FilePath.did_not_manage_to_validate_may_be_too_sl=Did not manage to validate {0} (may be too slow)
FilePath.validateAntFileMask.whitespaceSeprator=\
FilePath.validateAntFileMask.whitespaceSeparator=\
Whitespace can no longer be used as the separator. Please Use \u2018,\u2019 as the separator instead.
FilePath.validateAntFileMask.doesntMatchAndSuggest=\
\u2018{0}\u2019 doesn\u2019t match anything, but \u2018{1}\u2019 does. Perhaps that\u2019s what you mean?

View File

@ -146,7 +146,7 @@ THE SOFTWARE.
<td class="pane" />
<td class="pane">
<h4 class="error">Failed : ${p.name}</h4>
<div stlyle="padding-left: 1em">
<div style="padding-left: 1em">
<pre>${p.exceptionString}</pre>
</div>
</td>

View File

@ -26,13 +26,13 @@ THE SOFTWARE.
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form" xmlns:i="jelly:fmt" trim="true">
<st:contentType value="text/plain;charset=UTF-8"/>
<!--
Publicize the TCP port number for JNLP agents so that they know where to conenct.
Publicize the TCP port number for JNLP agents so that they know where to connect.
Keep the legacy header for better backward compatibility
-->
<st:header name="X-Hudson-JNLP-Port" value="${app.tcpSlaveAgentListener.advertisedPort}" />
<st:header name="X-Jenkins-JNLP-Port" value="${app.tcpSlaveAgentListener.advertisedPort}" />
<!--
if the host name is overriden, advertise that as well
if the host name is overridden, advertise that as well
-->
<st:header name="X-Jenkins-JNLP-Host" value="${app.tcpSlaveAgentListener.CLI_HOST_NAME}" />
<!-- publish the instance identity so that agents can verify match from discovery -->

View File

@ -18,7 +18,7 @@
suites, as it allows each build to contain a smaller number of changes, while
the total turnaround time decreases as subsequent builds do not need to wait
for previous test runs to complete.<br>
This feature is also useful for parameterised projects, whose individual build
This feature is also useful for parameterized projects, whose individual build
executions &mdash; depending on the parameters used &mdash; can be
completely independent from one another.
<p>

View File

@ -17,7 +17,7 @@ html {
dl {
EnvironmentContributor.all().each { e -> st.include(it:e, page:"buildEnv", optional:true) }
// allow SCM classes to have buildEnv.groovy since SCM can contirbute environment variables
// allow SCM classes to have buildEnv.groovy since SCM can contribute environment variables
SCM.all().each { e -> st.include(class:e.clazz, page:"buildEnv", optional:true) }
}
}

View File

@ -26,7 +26,7 @@ THE SOFTWARE.
This view is used to render the project change list like /job/<jobname>/changes
While this default implementation can work with any SCM,
subclass may provide diffent implementation to present implementation-specific
subclass may provide different implementation to present implementation-specific
information.
The 'builds' variable contains the collection of AbstractBuild objects

View File

@ -25,7 +25,7 @@ blurb=Allows an agent to be launched using <a href="https://en.wikipedia.org/wik
establish a TCP connection to the Jenkins master.<br>\
This means that the agent need not be reachable from the master; the agent \
just needs to be able to reach the master. If you have enabled security via \
the <i>Configure Global Security</i> page, you can customise the port on \
the <i>Configure Global Security</i> page, you can customize the port on \
which the Jenkins master will listen for incoming JNLP agent connections.<br>\
By default, the JNLP agent will launch a GUI, but it's also possible to run \
a JNLP agent without a GUI, e.g. as a Window service.

View File

@ -37,8 +37,8 @@ SimpleScheduledRetentionStrategy.FinishedUpTime=Computer has finished its schedu
SimpleScheduledRetentionStrategy.displayName=Take this agent online according to a schedule
EnvironmentVariablesNodeProperty.displayName=Environment variables
SlaveComputer.DisconnectedBy=Disconnected by {0}{1}
NodeDescripter.CheckName.Mandatory=Name is mandatory
NodeDescriptor.CheckName.Mandatory=Name is mandatory
ComputerLauncher.NoJavaFound=Java version {0} was found but 1.6 or later is needed.
ComputerLauncher.JavaVersionResult={0} -version returned {1}.
ComputerLauncher.UknownJavaVersion=Couldn\u2019t figure out the Java version of {0}
ComputerLauncher.UnknownJavaVersion=Couldn\u2019t figure out the Java version of {0}
Cloud.ProvisionPermission.Description=Provision new nodes

View File

@ -4,6 +4,6 @@
next steps will be continued. Supported values match the widest errorlevel range for Windows
like systems. In Windows NT4 and beyond the ERRORLEVEL is stored as a four byte, signed integer,
yielding maximum and minimum values of 2147483647 and -2147483648, respectively. Older versions
of Windows use 2 bytes. DOS like systems use single byte, yelding errorlevels between 0-255.
of Windows use 2 bytes. DOS like systems use single byte, yielding errorlevels between 0-255.
The value 0 is ignored and does not make the build unstable to keep the default behaviour consistent.
</div>

View File

@ -15,7 +15,7 @@
If a new build of this project is triggered while a build is already sitting
in the queue, waiting for its quiet period to end, the quiet period will not
be reset. The newly triggered build will not be added to the queue, unless
this project is parameterised and the build has different parameters to the
this project is parameterized and the build has different parameters to the
build already in the queue.
<p>
If this option is not checked, then the system-wide default value from the

View File

@ -30,7 +30,7 @@ THE SOFTWARE.
<st:documentation>
single-line textbox that can be expanded into a multi-line textarea.
This control is useful for a field that expects multiple whitespaec-separated tokens
This control is useful for a field that expects multiple whitespace-separated tokens
(such as URLs, glob patterns, etc.) When the user only enters a few tokens,
they can keep it as a single line to save space, but to enter a large number of values,
this can be turned into textarea for better visibility.

View File

@ -121,7 +121,7 @@ Behaviour.specify("DIV.hetero-list-container", 'hetero-list', -100, function(e)
});
if (e.hasClassName("one-each")) {
// does this container already has a ocnfigured instance of the specified descriptor ID?
// does this container already has a configured instance of the specified descriptor ID?
function has(id) {
return Prototype.Selector.find(e.childElements(),"DIV.repeated-chunk[descriptorId=\""+id+"\"]")!=null;
}

View File

@ -35,7 +35,7 @@ THE SOFTWARE.
<st:attribute name="title" use="required" />
</st:documentation>
<!--
Without @checked, optionalBlock will try to coarse an obejct to a boolean, which fails,
Without @checked, optionalBlock will try to coarse an object to a boolean, which fails,
so override @checked manually.
-->
<f:optionalBlock field="${field}" title="${title}" checked="${instance[field]!=null}">

View File

@ -25,7 +25,7 @@ THE SOFTWARE.
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:x="jelly:xml" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<st:documentation>
Dispaly sortable table of properties.
Display sortable table of properties.
<st:attribute name="items" use="required">
A Map object that gets rendered as a table.

View File

@ -39,12 +39,12 @@ THE SOFTWARE.
</st:attribute>
<st:attribute name="css" deprecated="true">
specify path that starts from "/" for loading additional CSS stylesheet.
path is interprted as relative to the context root. e.g.,
path is interpreted as relative to the context root. e.g.,
{noformat}&lt;l:layout css="/plugin/mysuperplugin/css/myneatstyle.css">{noformat}
This was originally added to allow plugins to load their stylesheets, but
*the use of thie attribute is discouraged now.*
*the use of this attribute is discouraged now.*
plugins should now do so by inserting &lt;style> elements and/or &lt;script> elements
in &lt;l:header/> tag.
</st:attribute>

View File

@ -137,7 +137,7 @@
<!ATTLIST package
name CDATA #REQUIRED >
<!-- The list of methodes to include/exclude from this test -->
<!-- The list of methods to include/exclude from this test -->
<!ELEMENT methods (include?,exclude?)* >

Some files were not shown because too many files have changed in this diff Show More