On Thu, Feb 19, 2015 at 1:40 PM, Chamila De Alwis <chami...@wso2.com> wrote:

> Hi,
>
> In the Java cartridge agent there is an unused class, ArifactCopyTask
> class, which seems to be copying a given source folder to a given
> destination. It is evident from the commented out code that this was used
> to copy repository artifacts from a temporary location to the super tenant
> application path. Isn't this now handled by the GitBasedArtifactRepository
> class? It derives the proper application path by checking if the cartridge
> is single or multi tenant one.
>
> Additionally another class named RepositoryFileListener seems to be an
> obsolete implementation of the auto commit functionality, which is also
> handled by the GitBasedArtifactRepository class.
>
> Can these classes and commented out code be safely removed from the JCA?
>
+1, AFAIK this is not used now.

>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
> --
> <http://code.chamiladealwis.com>
> <http://code.chamiladealwis.com>
> Thanks and Regards,
>
> Isuru H.
> <http://code.chamiladealwis.com>
> +94 716 358 048 <http://code.chamiladealwis.com>* <http://wso2.com/>*
>
>
> * <http://wso2.com/>*
>
>
>

Reply via email to