* {@code charArray} is returned. Otherwise, a new char array with the
* result is returned.
*/
public static CharVector applyLinefeedTreatment(final CharVector charArray,
final LinefeedTreatment inputLinefeedTreatment) {
LinefeedTreatment linefeedTreatment = inputLinefeedTreatment;
switch (linefeedTreatment) {
case PRESERVE: {
return charArray;
}
case IGNORE: