Browse Source

[PATCH] Misspelling: s/occured/occurred/g

PR: 27282
Obtained from: Jesse Glick


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276200 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 21 years ago
parent
commit
98c3a0ea10
13 changed files with 23 additions and 23 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/ProjectHelper.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java
  3. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJAntToolGUI.java
  4. +4
    -4
      src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJBuildInfo.java
  5. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJLocalUtil.java
  6. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJToolsServlet.java
  7. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner.java
  8. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
  9. +2
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java
  10. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java
  11. +3
    -3
      src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java
  12. +1
    -1
      src/main/org/apache/tools/ant/types/PatternSet.java
  13. +1
    -1
      src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java

+ 1
- 1
src/main/org/apache/tools/ant/ProjectHelper.java View File

@@ -527,7 +527,7 @@ public class ProjectHelper {
return ex;
}
String errorMessage
= "Following error occured while executing this line"
= "The following error occurred while executing this line:"
+ System.getProperty("line.separator")
+ ex.getLocation().toString()
+ ex.getMessage();


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java View File

@@ -509,7 +509,7 @@ public class Translate extends MatchingTask {
destDir.mkdirs();
}
} catch (Exception e) {
log("Exception occured while trying to check/create "
log("Exception occurred while trying to check/create "
+ " parent directory. " + e.getMessage(),
Project.MSG_DEBUG);
}


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJAntToolGUI.java View File

@@ -156,7 +156,7 @@ public class VAJAntToolGUI extends Frame {

/**
* Fired after the last target has finished. This event
* will still be thrown if an error occured during the build.
* will still be thrown if an error occurred during the build.
*
* @see BuildEvent#getException()
*/
@@ -226,7 +226,7 @@ public class VAJAntToolGUI extends Frame {

/**
* Fired when a target has finished. This event will
* still be thrown if an error occured during the build.
* still be thrown if an error occurred during the build.
*
* @see BuildEvent#getException()
*/
@@ -246,7 +246,7 @@ public class VAJAntToolGUI extends Frame {

/**
* Fired when a task has finished. This event will still
* be throw if an error occured during the build.
* be throw if an error occurred during the build.
*
* @see BuildEvent#getException()
*/


+ 4
- 4
src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJBuildInfo.java View File

@@ -76,7 +76,7 @@ class VAJBuildInfo implements Runnable {

/**
* checks if the thread was interrupted. When an
* interrupt occured, throw an Exception to stop
* interrupt occurred, throw an Exception to stop
* the execution.
*/
protected void checkInterrupted() {
@@ -87,7 +87,7 @@ class VAJBuildInfo implements Runnable {

/**
* Fired after the last target has finished. This event
* will still be thrown if an error occured during the build.
* will still be thrown if an error occurred during the build.
*/
public void buildFinished(BuildEvent event) {
wrappedListener.buildFinished(event);
@@ -112,7 +112,7 @@ class VAJBuildInfo implements Runnable {

/**
* Fired when a target has finished. This event will
* still be thrown if an error occured during the build.
* still be thrown if an error occurred during the build.
*/
public void targetFinished(BuildEvent event) {
wrappedListener.targetFinished(event);
@@ -129,7 +129,7 @@ class VAJBuildInfo implements Runnable {

/**
* Fired when a task has finished. This event will still
* be throw if an error occured during the build.
* be throw if an error occurred during the build.
*/
public void taskFinished(BuildEvent event) {
wrappedListener.taskFinished(event);


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJLocalUtil.java View File

@@ -202,7 +202,7 @@ abstract class VAJLocalUtil implements VAJUtil {
}
}
} catch (IvjException e) {
throw createBuildException("VA Exception occured: ", e);
throw createBuildException("VA Exception occurred: ", e);
}

return expandedDescs;
@@ -238,7 +238,7 @@ abstract class VAJLocalUtil implements VAJUtil {
return pe;

} catch (IvjException e) {
throw createBuildException("VA Exception occured: ", e);
throw createBuildException("VA Exception occurred: ", e);
}

}
@@ -282,7 +282,7 @@ abstract class VAJLocalUtil implements VAJUtil {
+ " of " + pe.getName(), MSG_INFO);
return pe;
} catch (IvjException e) {
throw createBuildException("VA Exception occured: ", e);
throw createBuildException("VA Exception occurred: ", e);
}

}


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJToolsServlet.java View File

@@ -99,7 +99,7 @@ public abstract class VAJToolsServlet extends HttpServlet {
initRequest();
executeRequest();
} catch (BuildException e) {
util.log("Error occured: " + e.getMessage(), VAJUtil.MSG_ERR);
util.log("Error occurred: " + e.getMessage(), VAJUtil.MSG_ERR);
} catch (Exception e) {
try {
if (!(e instanceof BuildException)) {


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner.java View File

@@ -182,7 +182,7 @@ class VAJWorkspaceScanner extends DirectoryScanner {
}
}
} catch (IvjException e) {
throw VAJLocalUtil.createBuildException("VA Exception occured: ", e);
throw VAJLocalUtil.createBuildException("VA Exception occurred: ", e);
}
}
}

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java View File

@@ -335,7 +335,7 @@ public class JDependTask extends Task {
*/
private static final int SUCCESS = 0;
/**
* An error occured.
* An error occurred.
*/
private static final int ERRORS = 1;



+ 2
- 2
src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java View File

@@ -169,7 +169,7 @@ public class PlainJUnitResultFormatter implements JUnitResultFormatter {
+ JUnitVersionHelper.getTestCaseName(test));
Long l = (Long) testStarts.get(test);
double seconds = 0;
// can be null if an error occured in setUp
// can be null if an error occurred in setUp
if (l != null) {
seconds =
(System.currentTimeMillis() - l.longValue()) / 1000.0;
@@ -200,7 +200,7 @@ public class PlainJUnitResultFormatter implements JUnitResultFormatter {
/**
* Interface TestListener.
*
* <p>An error occured while running the test.
* <p>An error occurred while running the test.
*/
public void addError(Test test, Throwable t) {
formatError("\tCaused an ERROR", test, t);


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java View File

@@ -213,7 +213,7 @@ public class XMLJUnitResultFormatter implements JUnitResultFormatter, XMLConstan
/**
* Interface TestListener.
*
* <p>An error occured while running the test.
* <p>An error occurred while running the test.
*/
public void addError(Test test, Throwable t) {
formatError(ERROR, test, t);


+ 3
- 3
src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java View File

@@ -179,7 +179,7 @@ public class AntSoundPlayer implements LineListener, BuildListener {

/**
* Fired after the last target has finished. This event
* will still be thrown if an error occured during the build.
* will still be thrown if an error occurred during the build.
*
* @see BuildEvent#getException()
*/
@@ -202,7 +202,7 @@ public class AntSoundPlayer implements LineListener, BuildListener {

/**
* Fired when a target has finished. This event will
* still be thrown if an error occured during the build.
* still be thrown if an error occurred during the build.
*
* @see BuildEvent#getException()
*/
@@ -219,7 +219,7 @@ public class AntSoundPlayer implements LineListener, BuildListener {

/**
* Fired when a task has finished. This event will still
* be throw if an error occured during the build.
* be throw if an error occurred during the build.
*
* @see BuildEvent#getException()
*/


+ 1
- 1
src/main/org/apache/tools/ant/types/PatternSet.java View File

@@ -335,7 +335,7 @@ public class PatternSet extends DataType implements Cloneable {
line = patternReader.readLine();
}
} catch (IOException ioe) {
String msg = "An error occured while reading from pattern file: "
String msg = "An error occurred while reading from pattern file: "
+ patternfile;
throw new BuildException(msg, ioe);
} finally {


+ 1
- 1
src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java View File

@@ -25,7 +25,7 @@ import java.util.Iterator;
* A Cache let the user store key-value-pairs in a permanent manner and access
* them.
* It is possible that a client uses get() before load() therefore the
* implementation must ensure that no error occured because of the wrong
* implementation must ensure that no error occurred because of the wrong
* <i>order</i>.
* The implementing class should implement a useful toString() method.
*


Loading…
Cancel
Save