Byron,
How are these changes relate to --target support?
thanks,
-marina
Byron Nevins wrote:
> Marina,
>
> Your wish is my command -- checkin attached
>
> Note: I'm thinking of changing isCluster and isServer as follows.
> Comments? Useful?
>
> Cluster isCluster() --> returns null if this is not a cluster
> otherwise it returns the same object "cast" to a Cluster
>
> Server isServer() --> returns null if this is not a Server otherwise
> it returns the same object "cast" to a Server
>
> ============
> Then instead of:
>
> if(rc.isCluster())
> Cluster clu = (Cluster) rc; // guaranteed safe cast
> else if(rc.isServer())
> Server serv = (Server) rc;
>
> ------------
>
> Cluster clu = rc.isCluster();
> Server serv = rc.isServer();
>
> if(clu != null)
> etc...
>
>
> On 6/3/2010 12:37 PM, Marina Vatkina wrote:
>> Can you send a pointer to Byron's checkin?
>>
>> thanks,
>> -marina
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net