On Sunday 14 March 2004 22:37, Daniel Frey wrote:
> Niclas, I've attached *and* pasted the patch with this message. Please tell
> me whether you really don't get the attachment.

It is like this;
The mailing list don't forward attachment above a certain size (can't remember 
how big, but somewhere arounf 20kB I think).
When you paste the patch, of course I get them, but need some manual patching 
of the patch, since the lines are wrapped.

May I suggest that you go to 
http://nagoya.apache.org/jira/secure/Dashboard.jspa
and start using it. Anything you enter there will show up in the dev@ list, so 
I'll catch it.
There are no limitations there...

Also, once you create an account you can customize the dashboard and get rid 
of a lot of stuff you don't want to pollute.

Cheers
Niclas

> ============= Patch ========================
> Index:
> merlin/platform/tutorials/composition/application/impl/src/java/tutorial/ap
>p lication/Application.java
> ===================================================================
> RCS file:
> /home/cvspublic/avalon/merlin/platform/tutorials/composition/application/im
>p l/src/java/tutorial/application/Application.java,v
> retrieving revision 1.3
> diff -u -r1.3 Application.java
> ---
> merlin/platform/tutorials/composition/application/impl/src/java/tutorial/ap
>p lication/Application.java    24 Feb 2004 22:18:23 -0000      1.3
> +++
> merlin/platform/tutorials/composition/application/impl/src/java/tutorial/ap
>p lication/Application.java    14 Mar 2004 14:32:29 -0000
> @@ -52,33 +52,13 @@
>      {
>          getLogger().info( "servicing application" );
>
> -        LocationService locator = null;
> -        Object object = manager.lookup( "locator" );
> -        if( object instanceof LocationService )
> -        {
> -            locator = (LocationService) object;
> -        }
> -        else
> -        {
> -            final String error =
> -              "Object " + object.getClass().getName()
> -              + " does not implement the LocatorService class.";
> -            throw new ServiceException( "locator", error );
> -        }
> -
> -        PublisherService publisher = null;
> -        object = manager.lookup( "publisher" );
> -        if( object instanceof PublisherService )
> -        {
> -            publisher = (PublisherService) object;
> -        }
> -        else
> -        {
> -            final String error =
> -              "Object " + object.getClass().getName()
> -              + " does not implement the PublisherService class.";
> -            throw new ServiceException( "publisher", error );
> -        }
> +        //
> +        // Not necessary to check with instanceof as casting at this
> moment is
> +        // save within Merlin
> +        //
> +
> +        LocationService locator = (LocationService) object;
> +        PublisherService publisher = (PublisherService) object;
>
>          //
>          // get the location from the locator and publish

-- 
+---------//-------------------+
|   http://www.bali.ac         |
|  http://niclas.hedhman.org   |
+------//----------------------+

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

Reply via email to