You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2015/05/07 20:32:36 UTC
[5/5] [lang] Merge branch 'LANG-1122'
Merge branch 'LANG-1122'
LANG-1122: Inconsistent behavior of swap for malformed inputs. Thanks
to Adrian Ber.
Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/13d7ce9f
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/13d7ce9f
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/13d7ce9f
Branch: refs/heads/master
Commit: 13d7ce9fb65e8f05014daf4ee6cebc76f4781e6c
Parents: 48d142d 35096be
Author: Benedikt Ritter <br...@apache.org>
Authored: Thu May 7 20:31:49 2015 +0200
Committer: Benedikt Ritter <br...@apache.org>
Committed: Thu May 7 20:31:49 2015 +0200
----------------------------------------------------------------------
pom.xml | 3 +
src/changes/changes.xml | 1 +
.../org/apache/commons/lang3/ArrayUtils.java | 372 +++++++++++++------
.../apache/commons/lang3/ArrayUtilsTest.java | 128 ++++---
4 files changed, 325 insertions(+), 179 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/13d7ce9f/pom.xml
----------------------------------------------------------------------
diff --cc pom.xml
index 4f8c2e4,e8af806..78f3c07
--- a/pom.xml
+++ b/pom.xml
@@@ -479,8 -479,8 +479,11 @@@
<name>MichaĆ Kordas</name>
</contributor>
<contributor>
+ <name>Felipe Adorno</name>
+ </contributor>
++ <contributor>
+ <name>Adrian Ber</name>
+ </contributor>
</contributors>
<!-- Lang should depend on very little -->
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/13d7ce9f/src/changes/changes.xml
----------------------------------------------------------------------
diff --cc src/changes/changes.xml
index ab6245e,5e9efaf..56f4401
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@@ -22,18 -22,7 +22,19 @@@
<body>
<release version="3.5" date="tba" description="tba">
+ <action issue="LANG-1122" type="fix" dev="britter" due-to="Adrian Ber">Inconsistent behavior of swap for malformed inputs</action>
+ <action issue="LANG-701" type="add" dev="britter" due-to="James Sawle">StringUtils join with var args</action>
+ <action issue="LANG-1130" type="fix" dev="britter">Fix critical issues reported by SonarQube</action>
+ <action issue="LANG-1131" type="fix" dev="britter">StrBuilder.equals(StrBuilder) doesn't check for null inputs</action>
+ <action issue="LANG-1105" type="add" dev="britter" due-to="Hendrik Saly">Add ThreadUtils - A utility class which provides helper methods related to java.lang.Thread</action>
+ <action issue="LANG-1031" type="add" dev="britter" due-to="Felipe Adorno">Add annotations to exclude fields from ReflectionEqualsBuilder, ReflectionToStringBuilder and ReflectionHashCodeBuilder</action>
+ <action issue="LANG-1127" type="add" dev="chas">Unit test helpers which set and reset default Locale and TimeZone</action>
+ <action issue="LANG-1128" type="fix" dev="britter" due-to="jacktan1991">JsonToStringStyle doesn't handle chars and objects correctly</action>
+ <action issue="LANG-456" type="fix" dev="britter" due-to="Bob Fields, Woosan Ko, Bruno P. Kinoshita">HashCodeBuilder throws StackOverflowError in bidirectional navigable association</action>
+ <action issue="LANG-1126" type="fix" dev="britter">DateFormatUtilsTest.testSMTP depends on the default Locale</action>
+ <action issue="LANG-1123" type="fix" dev="chas" due-to="Christian P. Momon">Unit test FastDatePrinterTimeZonesTest needs a timezone set</action>
+ <action issue="LANG-916" type="fix" dev="chas" due-to="Christian P. Momon">CLONE - DateFormatUtils.format does not correctly change Calendar TimeZone in certain situations</action>
+ <action issue="LANG-1116" type="fix" dev="chas" due-to="Aaron Sheldon">DateUtilsTest.testLang530 fails for some timezones</action>
<action issue="LANG-1114" type="fix" dev="britter" due-to="Andy Coates">TypeUtils.ParameterizedType#equals doesn't work with wildcard types</action>
<action issue="LANG-1119" type="add" dev="britter" due-to="Loic Guibert">Add rotate(string, int) method to StringUtils</action>
<action issue="LANG-1118" type="fix" dev="britter" due-to="Loic Guibert">StringUtils.repeat('z', -1) throws NegativeArraySizeException</action>
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/13d7ce9f/src/main/java/org/apache/commons/lang3/ArrayUtils.java
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-lang/blob/13d7ce9f/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
----------------------------------------------------------------------