https://github.com/apache/commons-lang
Revision 2f62425c31dca0435c756e51289a5fc9dbaa5a94 authored by Benedikt Ritter on 27 March 2015, 08:03:41 UTC, committed by Benedikt Ritter on 27 March 2015, 08:03:41 UTC
- Avoid toString of the replacement sequence by doing it once.
- Avoid calculating the maximum when not needed.
- Fixup comment for greedy algorithm

Thanks to Fabian Lange.



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1669520 13f79535-47bb-0310-9956-ffa450edef68
1 parent a211ef2
Raw File
Tip revision: 2f62425c31dca0435c756e51289a5fc9dbaa5a94 authored by Benedikt Ritter on 27 March 2015, 08:03:41 UTC
Further optimization of LANG-935:
Tip revision: 2f62425
NOTICE.txt
Apache Commons Lang
Copyright 2001-2015 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).

This product includes software from the Spring Framework,
under the Apache License 2.0 (see: StringUtils.containsWhitespace())
back to top