commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject [3/3] [lang] Merge branch 'LANG-787'
Date Sat, 24 Sep 2016 10:19:55 GMT
Merge branch 'LANG-787'


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/cac7a60a
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/cac7a60a
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/cac7a60a

Branch: refs/heads/master
Commit: cac7a60abf0a4451a5c80ef57343a14ea1ba443f
Parents: db6f7c1 a27c02f
Author: Benedikt Ritter <britter@apache.org>
Authored: Sat Sep 24 12:19:35 2016 +0200
Committer: Benedikt Ritter <britter@apache.org>
Committed: Sat Sep 24 12:19:35 2016 +0200

----------------------------------------------------------------------
 src/changes/changes.xml                         |   1 +
 .../org/apache/commons/lang3/StringUtils.java   | 216 +++++++++++++++++--
 .../apache/commons/lang3/StringUtilsTest.java   | 123 +++++++++++
 3 files changed, 317 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/cac7a60a/src/changes/changes.xml
----------------------------------------------------------------------
diff --cc src/changes/changes.xml
index bc720f7,fbb0fcd..a9b58e2
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@@ -45,43 -21,8 +45,44 @@@ The <action> type attribute can be add,
    </properties>
    <body>
  
 -  <release version="3.5" date="tba" description="tba">
 +  <release version="3.5" date="tba" description="New features including Java 9 detection">
+     <action issue="LANG-787" type="add" dev="pschumacher" due-to="Gokul Nanthakumar C">Add
method removeIgnoreCase(String, String) to StringUtils</action>
 +    <action issue="LANG-1261" type="fix" dev="pschumacher" >ArrayUtils.contains returns
false for instances of subtypes</action>
 +    <action issue="LANG-1197" type="update" dev="pschumacher" >Prepare Java 9 detection</action>
 +    <action issue="LANG-1252" type="fix" dev="chtompki" due-to="Rob Tompkins">Rename
NumberUtils.isNumber, isCreatable to better reflect createNumber. Also, accommodated for "+"
symbol as prefix in isCreatable and isNumber.</action>
 +    <action issue="LANG-1262" type="update" dev="pschumacher" due-to="Ruslan Cheremin">CompareToBuilder.append(Object,
Object, Comparator) method is too big to be inlined</action>
 +    <action issue="LANG-1230" type="fix" dev="pschumacher" due-to="Philippe Marschall">Remove
unnecessary synchronization from registry lookup in EqualsBuilder and HashCodeBuilder</action>
 +    <action issue="LANG-1224" type="add" dev="pschumacher" due-to="Caleb Cushing">Extend
RandomStringUtils with methods that generate strings between a min and max length</action>
 +    <action issue="LANG-1214" type="fix" dev="pschumacher" due-to="Henry Tung">Handle
"void" in ClassUtils.getClass()</action>
 +    <action issue="LANG-1250" type="fix" dev="pschumacher" due-to="Glease Wang">SerializationUtils#deserialize
has unnecessary code and a comment for that</action>
 +    <action issue="LANG-1259" type="update" dev="britter" due-to="Dominik Stadler">JavaDoc
for ArrayUtils.isNotEmpty() is slightly misleading</action>
 +    <action issue="LANG-1257" type="add" dev="ggregory" due-to="Gary Gregory">Add
APIs StringUtils.wrapIfMissing(String, char|String)</action>
 +    <action issue="LANG-1190" type="fix" dev="pschumacher" due-to="pschumacher">TypeUtils.isAssignable
throws NullPointerException when fromType has type variables and toType generic superclass
specifies type variable</action>
 +    <action issue="LANG-1226" type="fix" dev="pschumacher" due-to="pschumacher">StringUtils#normalizeSpace
does not trim the string anymore</action>
 +    <action issue="LANG-1251" type="fix" dev="pschumacher" due-to="Takuya Ueshin">SerializationUtils.ClassLoaderAwareObjectInputStream
should use static initializer to initialize primitiveTypes map</action>
 +    <action issue="LANG-1253" type="add" dev="ggregory" due-to="adilek">[GitHub issue
#170] Add RandomUtils#nextBoolean() method</action>
 +    <action issue="LANG-1247" type="update" dev="chas" due-to="Benoit Wiart">FastDatePrinter
generates extra Date objects</action>
 +    <action issue="LANG-1018" type="fix" dev="pschumacher" due-to="Nick Manley">Fix
precision loss on NumberUtils.createNumber(String)</action>
 +    <action issue="LANG-1229" type="update" dev="pschumacher" due-to="Ruslan Cheremin">HashCodeBuilder.append(Object,Object)
is too big to be inlined, which prevents whole builder to be scalarized</action>
 +    <action issue="LANG-1085" type="add" dev="oheger" due-to="oheger / kinow">Add
a circuit breaker implementation</action>
 +    <action issue="LANG-1013" type="add" dev="pschumacher" due-to="Thiago Andrade">Add
StringUtils.truncate()</action>
 +    <action issue="LANG-1195" type="add" dev="pschumacher" due-to="Derek C. Ashmore">Enhance
MethodUtils to allow invocation of private methods</action>
 +    <action issue="LANG-1199" type="fix" dev="pschumacher" due-to="M. Steiger">Fix
implementation of StringUtils.getJaroWinklerDistance()</action>
 +    <action issue="LANG-1244" type="fix" dev="pschumacher" due-to="jjbankert">Fix
dead links in StringUtils.getLevenshteinDistance() javadoc</action>
 +    <action issue="LANG-1242" type="fix" dev="pschumacher" due-to="Neal Stewart">"\u2284":"&nsub;"
mapping missing from EntityArrays#HTML40_EXTENDED_ESCAPE</action>
 +    <action issue="LANG-1243" type="update" dev="sebb">Simplify ArrayUtils removeElements
by using new decrementAndGet() method</action>
 +    <action issue="LANG-1189" type="add" dev="sebb" due-to="haiyang li / Matthew Bartenschlag
">Add getAndIncrement/getAndDecrement/getAndAdd/incrementAndGet/decrementAndGet/addAndGet
in Mutable* classes</action>
 +    <action issue="LANG-1240" type="update" dev="pschumacher" due-to="zhanhb">Optimize
BitField constructor implementation</action>
 +    <action issue="LANG-1206" type="update" dev="pschumacher" due-to="Mohammed Alfallaj">Improve
CharSetUtils.squeeze() performance</action>
 +    <action issue="LANG-1225" type="add" dev="pschumacher" due-to="Caleb Cushing">Add
RandomStringUtils#randomGraph and #randomPrint which match corresponding regular expression
class</action>
 +    <action issue="LANG-901" type="fix" dev="pschumacher" due-to="Matthew Bartenschlag">StringUtils#startsWithAny/endsWithAny
is case sensitive - documented as case insensitive</action>
 +    <action issue="LANG-1223" type="add" dev="pschumacher" due-to="Nick Manley">Add
StopWatch#getTime(TimeUnit)</action>
 +    <action issue="LANG-781" type="add" dev="pschumacher" due-to="Krzysztof Wolny">Add
methods to ObjectUtils class to check for null elements in the array</action>
 +    <action issue="LANG-1228" type="add" dev="pschumacher" due-to="Brad Hess">Prefer
Throwable.getCause() in ExceptionUtils.getCause()</action>
 +    <action issue="LANG-1233" type="add" dev="pschumacher" due-to="Nick Manley">DiffBuilder
add method to allow appending from a DiffResult</action>
 +    <action issue="LANG-1176" type="update" dev="pschumacher" due-to="Jeffery Yuan">Improve
ArrayUtils removeElements time complexity to O(n)</action>
 +    <action issue="LANG-1234" type="update" dev="pschumacher" due-to="Jonatan Jönsson">getLevenshteinDistance
with a threshold: optimize implementation if the strings lengths differ more than the threshold</action>
 +    <action issue="LANG-1168" type="add" dev="pschumacher" due-to="pschumacher">Add
SystemUtils.IS_OS_WINDOWS_10 property</action>
      <action issue="LANG-1232" type="fix" dev="pschumacher" due-to="Nick Manley">DiffBuilder:
Add null check on fieldName when appending Object or Object[]</action>
      <action issue="LANG-1178" type="fix" dev="pschumacher" due-to="Henri Yandell">ArrayUtils.removeAll(Object
array, int... indices) should do the clone, not its callers</action>
      <action issue="LANG-1151" type="update" dev="pschumacher" due-to="Juan Pablo Santos
Rodríguez">Performance improvements for NumberUtils.isParsable</action>

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/cac7a60a/src/main/java/org/apache/commons/lang3/StringUtils.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/commons-lang/blob/cac7a60a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java
----------------------------------------------------------------------


Mime
View raw message