+1 from me as well.

Makes code cleaner, thanks Hans.

Now I can switch my VT100 from 132 character mode back
to 80 character mode :-))

Regards,
Werner

> -----Ursprüngliche Nachricht-----
> Von: Hans Granqvist [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 27. September 2005 00:56
> An: [email protected]
> Betreff: handler cleanup
> 
> 
> Hi all, 
> 
> Some diffs to clean up build.xml and handler code as follows.
> See what you think.
> 
> * Wrap lines at 80 chars (so files are readable on my VT220 ;)
> 
> * avoid wsdl2java'ing when not needed (task chkwsdl
>   in interop/build.xml)
> 
> * build.xml does not dump classpaths etc unless invoked with 
>   debug
> 
> * replace pattern throughout handlers
> 
>     if ((x = (String) getOption(WSHandlerConstants.X)) == null)
> {
>         x = (String) ((MessageContext)reqData.getMsgContext())
>                         .getProperty(WSHandlerConstants.X);
>      }
> 
>   with something a la:
> 
>   x = getString(WSHandlerConstants.X, reqData.getMsgContext()); 
> 
> 
> Hans
> 

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

Reply via email to