package innovimax.mixthem.operation;

import innovimax.mixthem.arguments.Mode;
import innovimax.mixthem.arguments.Rule;
import innovimax.mixthem.arguments.RuleParam;
import innovimax.mixthem.arguments.ParamValue;

import java.util.Map;

public class CopyFactory {
  
    public static ICopyOperation newInstance(final Mode mode, final Rule rule, final Map<RuleParam, ParamValue> params) {
        return mode == Mode.CHAR ? new DefaultCharCopy(rule, params) : new DefaultByteCopy(rule, params);
    }    
    
}

@@ -76,49 +76,8 @@
 de;%0A
-import innovimax.mixthem.arguments.Rule;%0A
 impo
@@ -118,16 +118,16 @@
 eParam;%0A
+
 import i
@@ -291,16 +291,20 @@
 nal 
-Rule rul
+CopyMode mod
 e, f
@@ -396,27 +396,27 @@
 ultCharCopy(
-rul
+mod
 e, params) :
@@ -440,11 +440,11 @@
 opy(
-rul
+mod
 e, p

Update CopyFactory.java