package com.acacia.identitypipeline;

import com.acacia.sdk.AbstractTransform;
import com.acacia.sdk.AbstractTransformComposer;
import com.google.auto.service.AutoService;

import java.util.ArrayList;
import java.util.List;


@AutoService(AbstractTransformComposer.class)
public class IdentityComposer extends AbstractTransformComposer {

    List<AbstractTransform> transforms = new ArrayList<>();


    public IdentityComposer(){
        super();
        transforms.add(new IdentityPipeline());

    }

    @Override
    public List<AbstractTransform> getOrderedTransforms() {
        return transforms;
    }
}

@@ -378,24 +378,11 @@
  = n
-ew ArrayList%3C%3E()
+ull
 ;%0A%0A%0A
@@ -432,56 +432,8 @@
 r();
-%0A        transforms.add(new IdentityPipeline());
 %0A%0A  
@@ -511,16 +511,156 @@
 rms() %7B%0A
+        if(transforms == null) %7B%0A            transforms = new ArrayList%3C%3E();%0A            transforms.add(new IdentityPipeline());%0A        %7D%0A%0A
         

fix transform