/super-csv/src/main/java/org/supercsv/encoder/DefaultCsvEncoder.java
} return currentColumn.toString( ) ;
return currentColumn.toString ( ) ; }
final boolean quotesRequiredForMode = preference.getQuoteMode().quotesRequired(input, context, preference); final boolean quotesRequiredForSurroundingSpaces = preference.isSurroundingSpacesNeedQuotes() && input.length() > 0 && (input.charAt(0) == ' ' || input.charAt(input.length() - 1) == ' '); if( quotesRequiredForSpecialChar || quotesRequiredForMode || quotesRequiredForSurroundingSpaces ) { currentColumn.insert(0, quote).append(quote); } <extra_id_0> }