package org.simpleflatmapper.lightningcsv.parser;

import org.simpleflatmapper.lightningcsv.impl.AsmCharConsumerFactory;
import org.simpleflatmapper.lightningcsv.impl.ConfigurableCharConsumerFactory;

public abstract class CharConsumerFactory {
    public abstract AbstractCharConsumer newCharConsumer(TextFormat textFormat, CharBuffer charBuffer, CellPreProcessor cellTransformer, boolean specialisedCharConsumer);
    
    
    public static CharConsumerFactory newInstance() {
        
        try {
            return new AsmCharConsumerFactory();
        } catch (Throwable t) {
            System.err.println(t.getMessage());
            t.printStackTrace();
            // ignore
        }
        return new ConfigurableCharConsumerFactory();
    }
}
@@ -581,89 +581,8 @@
 ) %7B%0A
-            System.err.println(t.getMessage());%0A            t.printStackTrace();%0A
     

fix #597