/[Apache-SVN]
ViewVC logotype

Revision 1535914


Jump to revision: Previous Next
Author: bayard
Date: Sat Oct 26 02:45:39 2013 UTC (10 years, 11 months ago)
Changed paths: 2
Log Message:
Rewriting OctalUnescaper as a hand rolled parser (all of 4 characters), instead of trying to handle the conversion via repeated attempts to convert the numbers. This fixes bugs, see LANG-929, and also changes the behaviour for 'illegal' octals such as \999. Instead of throwing NumberFormatException, it will now ignore them. This seems the better behaviour. 

Changed paths

Path Details
Directorycommons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/text/translate/OctalUnescaper.java modified , text changed
Directorycommons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/text/translate/OctalUnescaperTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26