[Biojava-dev] newLine is not consistent across platforms

Scooter Willis HWillis at scripps.edu
Thu Sep 15 17:59:05 UTC 2011


Andreas

You can't win that way either. As an example I think GFF3 file format when
used with a unmentioned open source genome browser will only work if \n is
the line terminator.

Scooter

On 9/15/11 1:20 PM, "Andreas Prlic" <andreas at sdsc.edu> wrote:

>Hi Amr,
>
>yea, the newline should never be written as \n or \r\n but requested
>from System.getProperty("line.separator"); Did we have many instances
>of this? I thought we were pretty consistent in avoiding this.. I am
>not sure if we need a central place for this. Perhaps all we need is
>to remind all developers to avoid hard coding this and using the
>System property instead.
>
>Andreas
>
>
>2011/9/15 Amr AL-Hossary <amr_alhossary at hotmail.com>:
>> Here is another assertion exception:
>> The end line delimiter is different across platforms.
>> So, I created a new helper class for common String assertion
>>manipulation
>> tasks.
>>
>> Please feel free to use it in all common String manipulation tasks.
>>
>> Well, my question is: where could it be put (a common place) to be used
>>by
>> all test classes?
>>
>> Amr
>> ------------
>> This mail is sent for the 5th time
>>
>>
>_______________________________________________
>biojava-dev mailing list
>biojava-dev at lists.open-bio.org
>http://lists.open-bio.org/mailman/listinfo/biojava-dev





More information about the biojava-dev mailing list