You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@depot.apache.org by "Adam R. B. Jack" <aj...@trysybase.com> on 2004/07/14 23:19:46 UTC

ArtifactInstance.clone

This compile?


 /**
  * Provides a clone of this object
  */
 public Object clone() {
  ArtifactInstance aInstance = new
ArtifactInstance((Artifact)this.m_artifact.clone(),
     (ArtifactLocator)this.m_locator.clone());
  return aInstance;
 }

It doesn't for me...

regards

Adam
--
Experience the Unwired Enterprise:
http://www.sybase.com/unwiredenterprise
Try Sybase: http://www.try.sybase.com


Re: ArtifactInstance.clone

Posted by "Adam R. B. Jack" <aj...@apache.org>.
> Do not see any problems there???????

Gak, I think my Eclipse 3.0 is playing silly buggars on me. I don't see a
compile error reported an more. Sorry for the noise.

regards

Adam


Re: ArtifactInstance.clone

Posted by "Markus M. May" <mm...@gmx.net>.
Do not see any problems there???????

Markus M. May wrote:
> Hmm, sorry about this one. got the sources not committed :-(
> Right now, I cannot commit them, because they are on my machine at home.
> 
> Sorry
> 
> Markus
> 
> 
>>This compile?
>>
>>
>> /**
>>  * Provides a clone of this object
>>  */
>> public Object clone() {
>>  ArtifactInstance aInstance = new
>>ArtifactInstance((Artifact)this.m_artifact.clone(),
>>     (ArtifactLocator)this.m_locator.clone());
>>  return aInstance;
>> }
>>
>>It doesn't for me...
>>
>>regards
>>
>>Adam
>>--
>>Experience the Unwired Enterprise:
>>http://www.sybase.com/unwiredenterprise
>>Try Sybase: http://www.try.sybase.com
>>
> 
> 
> 


Re: ArtifactInstance.clone

Posted by "Markus M. May" <mm...@gmx.net>.
Hmm, sorry about this one. got the sources not committed :-(
Right now, I cannot commit them, because they are on my machine at home.

Sorry

Markus

> This compile?
> 
> 
>  /**
>   * Provides a clone of this object
>   */
>  public Object clone() {
>   ArtifactInstance aInstance = new
> ArtifactInstance((Artifact)this.m_artifact.clone(),
>      (ArtifactLocator)this.m_locator.clone());
>   return aInstance;
>  }
> 
> It doesn't for me...
> 
> regards
> 
> Adam
> --
> Experience the Unwired Enterprise:
> http://www.sybase.com/unwiredenterprise
> Try Sybase: http://www.try.sybase.com
>