Buggy code:
public class Loader { private static long siesta_ = 60 * 1000 ; private static Logger logger_ = Logger . getLogger ( Loader . class ) ; private Importer importer_ ; private StorageService storageService_ ; public Loader ( StorageService storageService ) { } private void preParse ( File rootDirectory , String table , String cfName ) throws Throwable { } String merge ( List < String > listFields , String combiner ) { } boolean checkIfProcessKey ( String key ) { } void parse ( String filepath ) throws Throwable { BufferedReader bufReader = new BufferedReader ( new InputStreamReader ( new FileInputStream ( filepath ) ) , ( ( 16 * 1024 ) * 1024 ) ) ; String line = null ; <START_BUG> String delimiter_ = new String ( "," ) ; <END_BUG> RowMutation rm = null ; Map < String , RowMutation > rms = new HashMap < String , RowMutation > ( ) ; if ( ( importer_ . columnFamily . delimiter ) != null ) { delimiter_ = importer_ . columnFamily . delimiter ; } while ( ( line = bufReader . readLine ( ) ) != null ) { StringTokenizer st = new StringTokenizer ( line , delimiter_ ) ; List < String > tokenList = new ArrayList < String > ( ) ; String key = null ; while ( st . hasMoreElements ( ) ) { tokenList . add ( ( ( String ) ( st . nextElement ( ) ) ) ) ; } List < String > keyFields = new ArrayList < String > ( ) ; for ( int fieldId : importer_ . key . fields . field ) { keyFields . add ( tokenList . get ( fieldId ) ) ; } key = merge ( keyFields , importer_ . key . combiner ) ; if ( ( ( importer_ . key . optimizeIt ) != null ) && ( ! ( importer_ . key . optimizeIt ) ) ) { if ( ! ( checkIfProcessKey ( key ) ) ) { continue ; } } rm = rms . get ( key ) ; if ( rm == null ) { rm = new RowMutation ( importer_ . table , key ) ; rms . put ( key , rm ) ; } if ( ( importer_ . columnFamily . superColumn ) != null ) { List < String > superColumnList = new ArrayList < String > ( ) ; for ( int fieldId : importer_ . columnFamily . superColumn . fields . field ) { superColumnList . add ( tokenList . get ( fieldId ) ) ; } String superColumnName = merge ( superColumnList , "<seq2seq4repair_space>" ) ; superColumnList . clear ( ) ; if ( importer_ . columnFamily . superColumn . tokenize ) { Analyzer analyzer = new StandardAnalyzer ( ) ; TokenStream ts = analyzer . tokenStream ( "superColumn" , new StringReader ( superColumnName ) ) ; Token token = null ; token = ts . next ( ) ; while ( token != null ) { superColumnList . add ( token . termText ( ) ) ; token = ts . next ( ) ; } } else { superColumnList . add ( superColumnName ) ; } for ( String sName : superColumnList ) { String cfName = ( ( importer_ . columnFamily . name ) + ":" ) + sName ; if ( ( importer_ . columnFamily . column ) != null ) { for ( ColumnType column : importer_ . columnFamily . column ) { String cfColumn = ( cfName + ":" ) + ( ( column . name ) == null ? tokenList . get ( column . field ) : column . name ) ; rm . add ( cfColumn , tokenList . get ( column . value . field ) . getBytes ( ) , Integer . parseInt ( tokenList . get ( column . timestamp . field ) ) ) ; } } } } else { if ( ( importer_ . columnFamily . column ) != null ) { for ( ColumnType column : importer_ . columnFamily . column ) { String cfColumn = ( ( importer_ . columnFamily . name ) + ":" ) + ( ( column . name ) == null ? tokenList . get ( column . field ) : column . name ) ; rm . add ( cfColumn , tokenList . get ( column . value . field ) . getBytes ( ) , Integer . parseInt ( tokenList . get ( column . timestamp . field ) ) ) ; } } } } Set < String > keys = rms . keySet ( ) ; for ( String pKey : keys ) { rm = rms . get ( pKey ) ; if ( rm != null ) { rm . apply ( ) ; } } } void parseFileList ( File dir ) { } void preLoad ( File rootDirectory ) throws Throwable { } void load ( String xmlFile ) throws Throwable { } public static void main ( String [ ] args ) throws Throwable { } }

Fix:
String delimiter_ = "," ;