peterreilly    2004/03/09 07:41:08

  Modified:    src/main/org/apache/tools/ant/types/selectors/modifiedselector
                        Cache.java
               src/main/org/apache/tools/ant/types PatternSet.java
               src/main/org/apache/tools/ant/taskdefs/optional/sound
                        AntSoundPlayer.java
               src/main/org/apache/tools/ant/taskdefs/optional/junit
                        XMLJUnitResultFormatter.java
                        PlainJUnitResultFormatter.java
               src/main/org/apache/tools/ant/taskdefs/optional/jdepend
                        JDependTask.java
               src/main/org/apache/tools/ant/taskdefs/optional/ide
                        VAJWorkspaceScanner.java VAJToolsServlet.java
                        VAJLocalUtil.java VAJBuildInfo.java
                        VAJAntToolGUI.java
               src/main/org/apache/tools/ant/taskdefs/optional/i18n
                        Translate.java
               src/main/org/apache/tools/ant ProjectHelper.java
  Log:
  [PATCH] Misspelling: s/occured/occurred/g
  PR: 27282
  Obtained from: Jesse Glick
  
  Revision  Changes    Path
  1.6       +1 -1      
ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java
  
  Index: Cache.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/Cache.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Cache.java        9 Feb 2004 21:05:38 -0000       1.5
  +++ Cache.java        9 Mar 2004 15:41:07 -0000       1.6
  @@ -25,7 +25,7 @@
    * 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.
    *
  
  
  
  1.39      +1 -1      ant/src/main/org/apache/tools/ant/types/PatternSet.java
  
  Index: PatternSet.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/PatternSet.java,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- PatternSet.java   24 Feb 2004 14:05:15 -0000      1.38
  +++ PatternSet.java   9 Mar 2004 15:41:08 -0000       1.39
  @@ -335,7 +335,7 @@
                   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.17      +4 -4      
ant/src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java
  
  Index: AntSoundPlayer.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/sound/AntSoundPlayer.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- AntSoundPlayer.java       9 Feb 2004 21:05:34 -0000       1.16
  +++ AntSoundPlayer.java       9 Mar 2004 15:41:08 -0000       1.17
  @@ -179,7 +179,7 @@
   
       /**
        *  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 @@
   
       /**
        *  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 @@
   
       /**
        *  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.34      +1 -1      
ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java
  
  Index: XMLJUnitResultFormatter.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- XMLJUnitResultFormatter.java      9 Feb 2004 21:05:32 -0000       1.33
  +++ XMLJUnitResultFormatter.java      9 Mar 2004 15:41:08 -0000       1.34
  @@ -213,7 +213,7 @@
       /**
        * 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);
  
  
  
  1.24      +2 -2      
ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java
  
  Index: PlainJUnitResultFormatter.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/PlainJUnitResultFormatter.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- PlainJUnitResultFormatter.java    9 Feb 2004 21:05:32 -0000       1.23
  +++ PlainJUnitResultFormatter.java    9 Mar 2004 15:41:08 -0000       1.24
  @@ -169,7 +169,7 @@
                         + 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 @@
       /**
        * 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.30      +1 -1      
ant/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java
  
  Index: JDependTask.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- JDependTask.java  9 Feb 2004 21:05:31 -0000       1.29
  +++ JDependTask.java  9 Mar 2004 15:41:08 -0000       1.30
  @@ -335,7 +335,7 @@
        */
       private static final int SUCCESS = 0;
       /**
  -     * An error occured.
  +     * An error occurred.
        */
       private static final int ERRORS = 1;
   
  
  
  
  1.16      +1 -1      
ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner.java
  
  Index: VAJWorkspaceScanner.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJWorkspaceScanner.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- VAJWorkspaceScanner.java  9 Feb 2004 21:05:31 -0000       1.15
  +++ VAJWorkspaceScanner.java  9 Mar 2004 15:41:08 -0000       1.16
  @@ -182,7 +182,7 @@
                   }
               }
           } catch (IvjException e) {
  -            throw VAJLocalUtil.createBuildException("VA Exception occured: 
", e);
  +            throw VAJLocalUtil.createBuildException("VA Exception occurred: 
", e);
           }
       }
   }
  
  
  
  1.16      +1 -1      
ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJToolsServlet.java
  
  Index: VAJToolsServlet.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJToolsServlet.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- VAJToolsServlet.java      9 Feb 2004 21:05:31 -0000       1.15
  +++ VAJToolsServlet.java      9 Mar 2004 15:41:08 -0000       1.16
  @@ -99,7 +99,7 @@
               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.18      +3 -3      
ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJLocalUtil.java
  
  Index: VAJLocalUtil.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJLocalUtil.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- VAJLocalUtil.java 9 Feb 2004 21:05:31 -0000       1.17
  +++ VAJLocalUtil.java 9 Mar 2004 15:41:08 -0000       1.18
  @@ -202,7 +202,7 @@
                   }
               }
           } catch (IvjException e) {
  -            throw createBuildException("VA Exception occured: ", e);
  +            throw createBuildException("VA Exception occurred: ", e);
           }
   
           return expandedDescs;
  @@ -238,7 +238,7 @@
               return pe;
   
           } catch (IvjException e) {
  -            throw createBuildException("VA Exception occured: ", e);
  +            throw createBuildException("VA Exception occurred: ", e);
           }
   
       }
  @@ -282,7 +282,7 @@
                   + " of " + pe.getName(), MSG_INFO);
               return pe;
           } catch (IvjException e) {
  -            throw createBuildException("VA Exception occured: ", e);
  +            throw createBuildException("VA Exception occurred: ", e);
           }
   
       }
  
  
  
  1.15      +4 -4      
ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJBuildInfo.java
  
  Index: VAJBuildInfo.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJBuildInfo.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- VAJBuildInfo.java 9 Feb 2004 21:05:30 -0000       1.14
  +++ VAJBuildInfo.java 9 Mar 2004 15:41:08 -0000       1.15
  @@ -76,7 +76,7 @@
   
           /**
            * 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 @@
   
           /**
            *  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 @@
   
           /**
            *  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 @@
   
           /**
            *  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);
  
  
  
  1.25      +3 -3      
ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJAntToolGUI.java
  
  Index: VAJAntToolGUI.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJAntToolGUI.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- VAJAntToolGUI.java        9 Feb 2004 21:05:30 -0000       1.24
  +++ VAJAntToolGUI.java        9 Mar 2004 15:41:08 -0000       1.25
  @@ -156,7 +156,7 @@
   
           /**
            *  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 @@
   
           /**
            *  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 @@
   
           /**
            *  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.37      +1 -1      
ant/src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java
  
  Index: Translate.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/i18n/Translate.java,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- Translate.java    9 Feb 2004 21:05:30 -0000       1.36
  +++ Translate.java    9 Mar 2004 15:41:08 -0000       1.37
  @@ -509,7 +509,7 @@
                               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);
                       }
  
  
  
  1.109     +1 -1      ant/src/main/org/apache/tools/ant/ProjectHelper.java
  
  Index: ProjectHelper.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/ProjectHelper.java,v
  retrieving revision 1.108
  retrieving revision 1.109
  diff -u -r1.108 -r1.109
  --- ProjectHelper.java        9 Feb 2004 21:05:16 -0000       1.108
  +++ ProjectHelper.java        9 Mar 2004 15:41:08 -0000       1.109
  @@ -527,7 +527,7 @@
               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();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to