cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap ErrorHandlerHelper.java
Date Sat, 13 Mar 2004 22:02:30 GMT
unico       2004/03/13 14:02:30

  Modified:    src/java/org/apache/cocoon/components/treeprocessor/sitemap
                        ErrorHandlerHelper.java
  Log:
  typo and spelling
  
  Revision  Changes    Path
  1.5       +5 -5      cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/ErrorHandlerHelper.java
  
  Index: ErrorHandlerHelper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/sitemap/ErrorHandlerHelper.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ErrorHandlerHelper.java	5 Mar 2004 13:02:52 -0000	1.4
  +++ ErrorHandlerHelper.java	13 Mar 2004 22:02:30 -0000	1.5
  @@ -51,7 +51,7 @@
   		Map objectModel = env.getObjectModel();
     	
           InvokeContext errorContext = null;
  -		boolean nodeSuccessfull = false;
  +		boolean nodeSuccessful = false;
   		
           try {
           	if (objectModel.get(Constants.NOTIFYING_OBJECT) == null) {
  @@ -82,9 +82,9 @@
   			errorContext.enableLogging(getLogger());
   			errorContext.compose(this.manager);
   			
  -			nodeSuccessfull = node.invoke(env, errorContext);
  +			nodeSuccessful = node.invoke(env, errorContext);
           } catch (Exception subEx) {
  -            getLogger().error("An exception occured in while handling errors at " + node.getLocation(),
subEx);
  +            getLogger().error("An exception occured while handling errors at " + node.getLocation(),
subEx);
               // Rethrow it : it will either be handled by the parent sitemap or by the environment
(e.g. Cocoon servlet)
               throw subEx;
           } finally {
  @@ -93,7 +93,7 @@
               }
           }
           
  -        if (nodeSuccessfull) {
  +        if (nodeSuccessful) {
           	return true;
           } else {
   			throw ex;
  
  
  

Mime
View raw message