[Biojava-dev] newLine is not consistent across platforms
Andreas Prlic
andreas at sdsc.edu
Thu Sep 15 17:20:01 UTC 2011
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
>
>
More information about the biojava-dev
mailing list