Yes, that is right.

Do you want to send us a patch? We would also need a unit test for for that method.

Jörn

On 05/14/2014 02:17 PM, David Landa wrote:
Hello, please correct me if I am wrong... I think there should be exception
in the trim() method in the Span class as in the getCoveredText() method.



if (getEnd > text.length()) {
     throw new IllegalArgumentException("...");

}



Reply via email to