FIX: Change spelling of 'occured' to 'occurred' (IVY-1123)

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@820811 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maarten Coene 2009-10-01 21:43:34 +00:00
parent d3ecb70f56
commit 8e1addfc56
13 changed files with 18 additions and 17 deletions

View File

@ -94,6 +94,7 @@ for detailed view of each issue, please consult http://issues.apache.org/jira/br
trunk trunk
===================================== =====================================
- FIX: Change spelling of 'occured' to 'occurred' (IVY-1123)
- FIX: Ivy deliver fails to replace dynamic revision when using extra attributes (IVY-1111) (thanks to Michael Scheetz) - FIX: Ivy deliver fails to replace dynamic revision when using extra attributes (IVY-1111) (thanks to Michael Scheetz)
- FIX: IbiblioResolver not always correctly configured when using JRE 1.5 (IVY-1124) (thanks to Flavio Coutinho da Costa) - FIX: IbiblioResolver not always correctly configured when using JRE 1.5 (IVY-1124) (thanks to Flavio Coutinho da Costa)
- FIX: VstfpRepository.readResponse uses bad compare logic (IVY-1119) (thanks to Dave Brosius) - FIX: VstfpRepository.readResponse uses bad compare logic (IVY-1119) (thanks to Dave Brosius)

View File

@ -53,7 +53,7 @@
(0 searched <img src="http://ivy.jayasoft.org/images/searched.gif" alt="searched" title="module revisions which required a search with a dependency resolver to be resolved">, (0 searched <img src="http://ivy.jayasoft.org/images/searched.gif" alt="searched" title="module revisions which required a search with a dependency resolver to be resolved">,
0 downloaded <img src="http://ivy.jayasoft.org/images/downloaded.gif" alt="downloaded" title="module revisions for which ivy file was downloaded by dependency resolver">, 0 downloaded <img src="http://ivy.jayasoft.org/images/downloaded.gif" alt="downloaded" title="module revisions for which ivy file was downloaded by dependency resolver">,
1 evicted <img src="http://ivy.jayasoft.org/images/evicted.gif" alt="evicted" title="module revisions which were evicted by others">, 1 evicted <img src="http://ivy.jayasoft.org/images/evicted.gif" alt="evicted" title="module revisions which were evicted by others">,
0 errors <img src="http://ivy.jayasoft.org/images/error.gif" alt="error" title="module revisions on which error occured">)</td> 0 errors <img src="http://ivy.jayasoft.org/images/error.gif" alt="error" title="module revisions on which error occurred">)</td>
</tr> </tr>
<tr> <tr>
<td class="title">Artifacts</td><td class="value">3 <td class="title">Artifacts</td><td class="value">3

View File

@ -55,7 +55,7 @@
(0 searched <img title="module revisions which required a search with a dependency resolver to be resolved" alt="searched" src="../images/searched.gif">, (0 searched <img title="module revisions which required a search with a dependency resolver to be resolved" alt="searched" src="../images/searched.gif">,
0 downloaded <img title="module revisions for which ivy file was downloaded by dependency resolver" alt="downloaded" src="../images/downloaded.gif">, 0 downloaded <img title="module revisions for which ivy file was downloaded by dependency resolver" alt="downloaded" src="../images/downloaded.gif">,
1 evicted <img title="module revisions which were evicted by others" alt="evicted" src="../images/evicted.gif">, 1 evicted <img title="module revisions which were evicted by others" alt="evicted" src="../images/evicted.gif">,
0 errors <img title="module revisions on which error occured" alt="error" src="../images/error.gif">)</td> 0 errors <img title="module revisions on which error occurred" alt="error" src="../images/error.gif">)</td>
</tr> </tr>
<tr> <tr>
<td class="title">Artifacts</td><td class="value">3 <td class="title">Artifacts</td><td class="value">3

View File

@ -40,7 +40,7 @@ public final class Version {
versions.put(module, version); versions.put(module, version);
System.out.println("--- using " + module + " v" + version); System.out.println("--- using " + module + " v" + version);
} catch (Exception ex) { } catch (Exception ex) {
System.err.println("an error occured while registering " + module + ": " System.err.println("an error occurred while registering " + module + ": "
+ ex.getMessage()); + ex.getMessage());
ex.printStackTrace(); ex.printStackTrace();
} }

View File

@ -127,7 +127,7 @@ public interface RepositoryCacheManager {
* @return a {@link ResolvedModuleRevision} representing the local cached module descriptor, or * @return a {@link ResolvedModuleRevision} representing the local cached module descriptor, or
* null if it failed * null if it failed
* @throws ParseException * @throws ParseException
* if an exception occured while parsing the module descriptor * if an exception occurred while parsing the module descriptor
*/ */
public ResolvedModuleRevision cacheModuleDescriptor(DependencyResolver resolver, public ResolvedModuleRevision cacheModuleDescriptor(DependencyResolver resolver,
ResolvedResource orginalMetadataRef, DependencyDescriptor dd, ResolvedResource orginalMetadataRef, DependencyDescriptor dd,

View File

@ -462,7 +462,7 @@ public class ResolveEngine {
* the date to which resolution must be done - may be null * the date to which resolution must be done - may be null
* @return an array of the resolved dependencies * @return an array of the resolved dependencies
* @throws ParseException * @throws ParseException
* if a parsing problem occured in the ivy file * if a parsing problem occurred in the ivy file
* @throws IOException * @throws IOException
* if an IO problem was raised during ivy file parsing * if an IO problem was raised during ivy file parsing
*/ */
@ -1009,7 +1009,7 @@ public class ResolveEngine {
* the configuration of the node in which conflicts should be computed * the configuration of the node in which conflicts should be computed
* @param toevict * @param toevict
* a collection of nodes which have been evicted during conflict resolution at lower * a collection of nodes which have been evicted during conflict resolution at lower
* level. It may be empty if no conflict resolution has occured for this node yet, or * level. It may be empty if no conflict resolution has occurred for this node yet, or
* if no node has been evicted. * if no node has been evicted.
* @param selectedNodes * @param selectedNodes
* a collection of nodes selected during previous conflict resolution for the given * a collection of nodes selected during previous conflict resolution for the given

View File

@ -148,7 +148,7 @@ public class XmlModuleDescriptorParser extends AbstractModuleDescriptorParser {
.setUpdateBranch(false) .setUpdateBranch(false)
.setNamespace(ns)); .setNamespace(ns));
} catch (SAXException e) { } catch (SAXException e) {
ParseException ex = new ParseException("exception occured while parsing " + res, 0); ParseException ex = new ParseException("exception occurred while parsing " + res, 0);
ex.initCause(e); ex.initCause(e);
throw ex; throw ex;
} finally { } finally {
@ -334,7 +334,7 @@ public class XmlModuleDescriptorParser extends AbstractModuleDescriptorParser {
if (ex instanceof SAXException) { if (ex instanceof SAXException) {
throw (SAXException) ex; throw (SAXException) ex;
} }
SAXException sax = new SAXException("Problem occured while parsing ivy file: " SAXException sax = new SAXException("Problem occurred while parsing ivy file: "
+ ex.getMessage(), ex); + ex.getMessage(), ex);
sax.initCause(ex); sax.initCause(ex);
throw sax; throw sax;

View File

@ -551,7 +551,7 @@ public final class XmlModuleDescriptorUpdater {
} }
}); });
} catch (Exception e) { } catch (Exception e) {
Message.warn("exception occured while importing configurations: " Message.warn("exception occurred while importing configurations: "
+ e.getMessage()); + e.getMessage());
throw new SAXException(e); throw new SAXException(e);
} }

View File

@ -293,7 +293,7 @@
(<xsl:value-of select="count($searcheds)"/> searched <img src="http://ant.apache.org/ivy/images/searched.gif" alt="searched" title="module revisions which required a search with a dependency resolver to be resolved"/>, (<xsl:value-of select="count($searcheds)"/> searched <img src="http://ant.apache.org/ivy/images/searched.gif" alt="searched" title="module revisions which required a search with a dependency resolver to be resolved"/>,
<xsl:value-of select="count($downloadeds)"/> downloaded <img src="http://ant.apache.org/ivy/images/downloaded.gif" alt="downloaded" title="module revisions for which ivy file was downloaded by dependency resolver"/>, <xsl:value-of select="count($downloadeds)"/> downloaded <img src="http://ant.apache.org/ivy/images/downloaded.gif" alt="downloaded" title="module revisions for which ivy file was downloaded by dependency resolver"/>,
<xsl:value-of select="count($evicteds)"/> evicted <img src="http://ant.apache.org/ivy/images/evicted.gif" alt="evicted" title="module revisions which were evicted by others"/>, <xsl:value-of select="count($evicteds)"/> evicted <img src="http://ant.apache.org/ivy/images/evicted.gif" alt="evicted" title="module revisions which were evicted by others"/>,
<xsl:value-of select="count($errors)"/> errors <img src="http://ant.apache.org/ivy/images/error.gif" alt="error" title="module revisions on which error occured"/>)</td></tr> <xsl:value-of select="count($errors)"/> errors <img src="http://ant.apache.org/ivy/images/error.gif" alt="error" title="module revisions on which error occurred"/>)</td></tr>
<tr><td class="title">Artifacts</td><td class="value"><xsl:value-of select="count($artifacts)"/> <tr><td class="title">Artifacts</td><td class="value"><xsl:value-of select="count($artifacts)"/>
(<xsl:value-of select="count($dlartifacts)"/> downloaded, (<xsl:value-of select="count($dlartifacts)"/> downloaded,
<xsl:value-of select="count($faileds)"/> failed)</td></tr> <xsl:value-of select="count($faileds)"/> failed)</td></tr>

View File

@ -68,7 +68,7 @@ public class TransferEvent extends IvyEvent {
public static final int TRANSFER_PROGRESS = 3; public static final int TRANSFER_PROGRESS = 3;
/** /**
* An error occured during transfer * An error occurred during transfer
*/ */
public static final int TRANSFER_ERROR = 4; public static final int TRANSFER_ERROR = 4;

View File

@ -132,7 +132,7 @@ public class ChainResolver extends AbstractResolver {
mr = forcedRevision(mr); mr = forcedRevision(mr);
} }
} catch (Exception ex) { } catch (Exception ex) {
Message.verbose("problem occured while resolving " + dd + " with " + resolver Message.verbose("problem occurred while resolving " + dd + " with " + resolver
+ ": " + StringUtils.getStackTrace(ex)); + ": " + StringUtils.getStackTrace(ex));
errors.add(ex); errors.add(ex);
} finally { } finally {
@ -159,7 +159,7 @@ public class ChainResolver extends AbstractResolver {
err.append("\t").append(StringUtils.getErrorMessage(ex)).append("\n"); err.append("\t").append(StringUtils.getErrorMessage(ex)).append("\n");
} }
err.setLength(err.length() - 1); err.setLength(err.length() - 1);
throw new RuntimeException("several problems occured while resolving " + dd + ":\n" throw new RuntimeException("several problems occurred while resolving " + dd + ":\n"
+ err); + err);
} }
} }

View File

@ -115,7 +115,7 @@ public final class CredentialsUtil {
fos = new FileOutputStream(passfile); fos = new FileOutputStream(passfile);
props.store(fos, ""); props.store(fos, "");
} catch (Exception e) { } catch (Exception e) {
Message.warn("error occured while saving password file " + passfile + ": " + e); Message.warn("error occurred while saving password file " + passfile + ": " + e);
} finally { } finally {
if (fos != null) { if (fos != null) {
try { try {
@ -148,7 +148,7 @@ public final class CredentialsUtil {
} }
return new Credentials(c.getRealm(), c.getHost(), username, passwd); return new Credentials(c.getRealm(), c.getHost(), username, passwd);
} catch (IOException e) { } catch (IOException e) {
Message.warn("error occured while loading password file " + passfile + ": " + e); Message.warn("error occurred while loading password file " + passfile + ": " + e);
} finally { } finally {
if (fis != null) { if (fis != null) {
try { try {

View File

@ -40,7 +40,7 @@ public class PropertiesFile extends Properties {
fis = new FileInputStream(file); fis = new FileInputStream(file);
load(fis); load(fis);
} catch (Exception ex) { } catch (Exception ex) {
Message.warn("exception occured while reading properties file " + file + ": " Message.warn("exception occurred while reading properties file " + file + ": "
+ ex.getMessage()); + ex.getMessage());
} }
try { try {
@ -62,7 +62,7 @@ public class PropertiesFile extends Properties {
fos = new FileOutputStream(file); fos = new FileOutputStream(file);
store(fos, header); store(fos, header);
} catch (Exception ex) { } catch (Exception ex) {
Message.warn("exception occured while writing properties file " + file + ": " Message.warn("exception occurred while writing properties file " + file + ": "
+ ex.getMessage()); + ex.getMessage());
} }
try { try {