You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, even if I set the qualifier in the DelimiterWriterFactory to FPConstants.NO_QUALIFIER, there is still a case where the qualifier will be written. This is incorrect.
On Tue, 24 Mar 2020 at 17:32, brentleeper ***@***.***> wrote:
Currently, even if I set the qualifier in the DelimiterWriterFactory to
FPConstants.NO_QUALIFIER, there is still a case where the qualifier will be
written. This is incorrect.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB542KIWNILJKHAPXAGG5TRJDVDXANCNFSM4LS3IEZA>
.
Currently:
final boolean needsQuoting = stringValue.indexOf(delimiter) != -1 //
|| foundQualifier //
|| stringValue.indexOf('\n') != -1;
Should be:
final boolean needsQuoting = foundQualifier && (stringValue.indexOf(delimiter) != 1 || stringValue.indexOf("\n") != 1);
Because:
If the qualifier is not found, then you cannot write the qualifier ever.
The text was updated successfully, but these errors were encountered: